SA-MP Forums Archive
SetPlayerWeather warning? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerWeather warning? (/showthread.php?tid=259068)



SetPlayerWeather warning? - lawonama - 02.06.2011

Fixed.


Re: SetPlayerWeather warning? - jameskmonger - 02.06.2011

pawn Код:
native SetPlayerWeather(playerid, weatherid);



Re: SetPlayerWeather warning? - lawonama - 02.06.2011

@jameskmonger Uhmm.. I'm really new to scripting. Where do i add that line?


Re: SetPlayerWeather warning? - jameskmonger - 02.06.2011

You don't, just do it like this:
pawn Код:
SetPlayerWeather(playerid, 9);



Re: SetPlayerWeather warning? - Famalamalam - 02.06.2011

pawn Код:
public OnPlayerConnect(playerid)
{
    SetPlayerWeather(playerid, 9);
    return 1;
}
EDIT: Aw, shucks.


Re: SetPlayerWeather warning? - lawonama - 02.06.2011

Thanks guys, the weather is changing