SA-MP Forums Archive
I Need Help - 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: I Need Help (/showthread.php?tid=225139)



I Need Help - eddmex - 13.02.2011

Is There any way i could stop change teams so that after they are 1 team they cant change it something like this

return SendClientMessage(playerid, YELLOW, "You Already Have A Team");


Re: I Need Help - Lorenc_ - 13.02.2011

Where is the teams called?


Re: I Need Help - Antonio [G-RP] - 13.02.2011

pawn Код:
if(GetPlayerTeam(playerid) != 0) .....



Re: I Need Help - eddmex - 13.02.2011

So i just insert that ubder the team commands?


Re: I Need Help - Antonio [G-RP] - 13.02.2011

Well, it depends. Have you used the function SetPlayerTeam, or is it assigned under a variable? (eg. 'gTeam[playerid]')


Re: I Need Help - eddmex - 13.02.2011

its a variable