https://db.nomad-group.net/index.php?title=MDE_Scripting:_OpenSeason&feed=atom&action=history
MDE Scripting: OpenSeason - Revision history
2024-03-29T10:16:05Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://db.nomad-group.net/index.php?title=MDE_Scripting:_OpenSeason&diff=1241&oldid=prev
Jan at 18:27, 27 October 2020
2020-10-27T18:27:49Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 18:27, 27 October 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Page_MDE}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>!Syntax</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>!Syntax</div></td></tr>
</table>
Jan
https://db.nomad-group.net/index.php?title=MDE_Scripting:_OpenSeason&diff=1154&oldid=prev
Deewarz: Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.traffic:OpenSeason(number seasonID)</syntaxhighlight> |- !Module |[[MDE Scripting: Game Library#Traffic|Traffic]..."
2020-10-17T18:53:17Z
<p>Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.traffic:OpenSeason(number seasonID)</syntaxhighlight> |- !Module |[[MDE Scripting: Game Library#Traffic|Traffic]..."</p>
<p><b>New page</b></p><div>{| class="wikitable"<br />
!Syntax<br />
|<syntaxhighlight lang="lua">game.traffic:OpenSeason(number seasonID)</syntaxhighlight><br />
|-<br />
!Module<br />
|[[MDE Scripting: Game Library#Traffic|Traffic]]<br />
|-<br />
!Library<br />
|[[MDE Scripting: Game Library|Game]]<br />
|-<br />
!Game<br />
|[[MDE Scripting|Mafia: Definitive Edition]]<br />
|}<br />
<br />
<br />
==Description==<br />
Set the current [[MDE Scripting: Seasons|season]] ID.<br />
<br />
{{Warning|You have to close the previous season before with [[MDE Scripting: CloseSeason|CloseSeason]].}}<br />
<br />
<br />
== Parameters ==<br />
{| class="wikitable" width="100%"<br />
!Name<br />
!Type<br />
!Description<br />
|-<br />
|seasonID<br />
|number<br />
|Find season id here : [[MDE Scripting: Seasons|Seasons]]<br />
|}<br />
<br />
<br />
==Returns==<br />
Returns nothing.<br />
<br />
<br />
==Examples==<br />
<syntaxhighlight lang="lua"><br />
game.traffic:CloseSeason() -- closes the previous season<br />
game.traffic:OpenSeason(1) -- set the current season as the year 1930<br />
</syntaxhighlight><br />
<br />
<br />
<br />
__NOTOC__<br />
<br />
[[Category:MDE]]<br />
[[Category:MDE Scripting]]<br />
[[Category:MDE Functions]]<br />
[[Category:MDE Game Library]]<br />
[[Category:MDE Traffic Module]]<br />
[[Category:MDE Seasons]]</div>
Deewarz