Difference between revisions of "MDE Scripting: GetCurrentSeasonID"
From Nomad DB
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Page_MDE}} | ||
{| class="wikitable" | {| class="wikitable" | ||
!Syntax | !Syntax | ||
Line 19: | Line 20: | ||
==Returns== | ==Returns== | ||
− | {| class="wikitable" width="100% | + | {| 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== |
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