World::weather: Difference between revisions
m (→Setter) |
CocaColaBear (talk | contribs) No edit summary |
||
| Line 10: | Line 10: | ||
==Example== | ==Example== | ||
<source lang="javascript"> | <source lang="javascript"> | ||
mp. | mp.world.weather = 'HALLOWEEN'; | ||
</source> | </source> | ||
==References== | ==References== | ||
[[Category:Weather API]] | [[Category:Weather API]] | ||
Revision as of 15:14, 29 January 2018
This property gets/sets game weather.
Getter
- String - Weather ID
Setter
- String - Weather ID
Example
mp.world.weather = 'HALLOWEEN';