Difference between revisions of "MDE Scripting: GetCurrentSeasonID"

From Nomad DB
(Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.traffic:GetCurrentSeasonID()</syntaxhighlight> |- !Module |Traffic |- !L...")
 
Line 19: Line 19:
  
 
==Returns==
 
==Returns==
{| class="wikitable" width="100%"
+
{| class="wikitable" width="100%" style="table-layout: fixed;"
 
!#
 
!#
 
!Type
 
!Type
Line 28: Line 28:
 
|The current season ID.
 
|The current season ID.
 
|}
 
|}
 
  
 
==Examples==
 
==Examples==

Revision as of 20:27, 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