SetPlayerWeather And GetPlayerWeather? - 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 And GetPlayerWeather? (
/showthread.php?tid=148430)
SetPlayerWeather And GetPlayerWeather? -
Mechscape - 17.05.2010
SetPlayerWeather is exist, but GetPlayerWeather doens't exist.
How do i make?? :S I need that GetPlayerWeather..
Re: SetPlayerWeather And GetPlayerWeather? -
[HiC]TheKiller - 17.05.2010
When you set the players weather put this
pawn Код:
SetPlayerPVar(playerid, "Weather", /*(ID SET TO)*/ );
Then
pawn Код:
#define GetPlayerWeather(%1) GetPVarInt(%1, "Weather")