This is a brief page for weather number (ID) -2997 in the Grand Theft Auto: San Andreas game. You can see the screen shot of the game at 20: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 ( -2997 ) setTime ( 20, 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 ( -2997 ) setTime ( 20, 0 ) -- Set time (not necessary)
Change weather for everybody:
SetWeather ( -2997 ); SetWorldTime ( 20 ); // Set time (not necessary)Change weather for one player:
// playerid - ID of the player SetPlayerWeather ( playerid, -2997 ); SetPlayerTime ( playerid, 20, 0 ); // Set time (not necessary)