12.09.2012, 12:42
There is a function to check if a player is in interior IsPlayerInAnyInterior
https://sampwiki.blast.hk/wiki/Useful_Fu...rInAnyInterior
ex.
EDIT:
ups . didn't see that its a custom made map.
just use https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint and change the weather
https://sampwiki.blast.hk/wiki/Useful_Fu...rInAnyInterior
ex.
pawn Код:
if(IsPlayerInAnyInterior(playerid))
{
SetPlayerWeather(playerid, 1);
}
ups . didn't see that its a custom made map.
just use https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint and change the weather