Difference between revisions of "MDE Scripting: GetCurrentSeasonID"

From Nomad DB
Line 19: Line 19:
  
 
==Returns==
 
==Returns==
{| class="wikitable" width="100%" style="table-layout: fixed;"
+
{| class="wikitable" width="100%"
 
!#
 
!#
 
!Type
 
!Type
 
!Description
 
!Description
 
|-
 
|-
|1
+
| style="font-weight: bold; text-align:center;" | 1
 
|number
 
|number
 
|The current season ID.
 
|The current season ID.
 
|}
 
|}
 +
  
 
==Examples==
 
==Examples==

Revision as of 20:41, 17 October 2020

Syntax
game.traffic:GetCurrentSeasonID()
Module Traffic
Library Game
Game Mafia: Definitive Edition


Description

Get the current season ID.


Returns

# Type Description
1 number The current season ID.


Examples

local seasonID = game.traffic:GetCurrentSeasonID() -- returns the current season ID