SA-MP Forums Archive
I need help with teams. - 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 with teams. (/showthread.php?tid=243112)



I need help with teams. - fie - 21.03.2011

Ok i am making a war script.
when they join they will be spawned with CJ then they will go to the tut of the server...
after the tut text comes up for them to /chooseteam
then it says /assasinators or /terrors

when they type one of those cmd i want it to set there team and make it so they cant kill there own team
how do i do this?

i hope you can help

Thanks alot guys


Re: I need help with teams. - Stigg - 21.03.2011

https://sampwiki.blast.hk/wiki/SetPlayerTeam
https://sampwiki.blast.hk/wiki/GetPlayerTeam
https://sampwiki.blast.hk/wiki/SetTeamCount

And a deathmatch tutorial.

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

Wiki is your friend.