SA-MP Forums Archive
How Can I DO This - 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: How Can I DO This (/showthread.php?tid=215752)



How Can I DO This - eddmex - 24.01.2011

i want a certain team to have like a weather so like if they are in 1 team they will have a weather and if they are in another 1 they will have a different


Re: How Can I DO This - Kitten - 24.01.2011

well depends what kind of team system u using

example:

pawn Код:
if(gTeam[playerid] == TEAM_1)
{
    SetWeather( blah blah ) ;
}
else if(gTeam[playerid] == TEAM_2)
{
    SetWeather( blah blah ) ;
}