This is a brief page for weather number (ID) -542 in the Grand Theft Auto: San Andreas game. You can see the screen shot of the game at 07:00
Weather ID can be used on SA-MP and MTA servers as well as in another mods for Grand Theft Auto: San Andreas
Instantly set the weather:
-- Change weather for every player If called serverside. To change weather for particular player, call it clientsde setWeather ( -542 ) setTime ( 7, 0 ) -- Set time (not necessary)Smooth transition to the new weather:
-- Change weather for every player If called serverside. To change weather for particular player, call it clientsde setWeatherBlended ( -542 ) setTime ( 7, 0 ) -- Set time (not necessary)
Change weather for everybody:
SetWeather ( -542 ); SetWorldTime ( 7 ); // Set time (not necessary)Change weather for one player:
// playerid - ID of the player SetPlayerWeather ( playerid, -542 ); SetPlayerTime ( playerid, 7, 0 ); // Set time (not necessary)