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...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Page_MDE}} | ||
{| class="wikitable" | {| class="wikitable" | ||
!Syntax | !Syntax | ||
Line 24: | Line 25: | ||
!Description | !Description | ||
|- | |- | ||
− | |1 | + | | style="font-weight: bold; text-align:center;" | 1 |
|number | |number | ||
|The current season ID. | |The current season ID. |
Latest revision as of 20:27, 27 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