SA-MP Forums Archive
Assigning player to team - 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: Assigning player to team (/showthread.php?tid=144288)



Assigning player to team - DDodo - 26.04.2010

I am wondering how to assign a player to a team after they spawn, because I use a menu, and from that menu you can choose "cop" and "criminal". So, when you chose "cop" I want the player to be assigned to that team, same for criminal


Re: Assigning player to team - Steven82 - 26.04.2010

Код:
SetPlayerTeam(playerid,TEAMID)