SetWeather
From SA-MP Wiki
(Difference between revisions)
Revision as of 09:59, 15 August 2010 Dugi (Talk | contribs) ← Previous diff |
Revision as of 21:56, 2 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
{{Scripting}} | {{Scripting}} | ||
- | {{Title}} | ||
{{Description|Set the world weather for all players.}} | {{Description|Set the world weather for all players.}} | ||
Line 22: | Line 21: | ||
[[Category:Scripting Functions]] | [[Category:Scripting Functions]] | ||
+ | |||
+ | [[fr:SetWeather]] |
Revision as of 21:56, 2 February 2014
Description:
Set the world weather for all players.
(weatherid)
weatherid | Sets the WeatherID. |
Return Values:
This function does not return any specific values.
if(!strcmp(cmdtext, "/sandstorm", true)) { SetWeather(19); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerWeather: Set a player's weather.
- SetGravity: Set the global gravity.