SA-MP Forums Archive
help on weathers - 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: help on weathers (/showthread.php?tid=88263)



help on weathers - stanLeys - 25.07.2009

What do i need to do i need to set private player weather its like /Weather 40 and the weather id 40 will be only for him


Re: help on weathers - MadeMan - 25.07.2009

https://sampwiki.blast.hk/wiki/SetPlayerWeather


Re: help on weathers - XtremeChio - 25.07.2009

Find the OnPlayerCommandText aka put this where the other commands are:

Код:
 if(strcmp(cmdtext, "/weather 40", true) == 0)
  {
    SetPlayerWeather(playerid, 40);
    return 1;
Copy this and paste under a command, any. You'll have to do this for all weathers tho Just use copy and paste and change numbers.