SA-MP Forums Archive
/cteams - 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: /cteams (/showthread.php?tid=82362)



/cteams - will_92 - 17.06.2009

can someone tell me how to do /cteams (change teams) what it does is , it makes a player switch to another team , but how would you do that?

And also i need a /report


Re: /cteams - Kyle - 17.06.2009

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


Re: /cteams - arnutisz - 17.06.2009

Just check player team, and then set player to another team.


Re: /cteams - Luka P. - 17.06.2009

You want /cteam [id/name] or just to get random team


Re: /cteams - arnutisz - 17.06.2009

I think he wants like /switch command, to change your team to another one.


Re: /cteams - will_92 - 17.06.2009

yeah , but how would you be able to create that command , i need someone to make me this command please


Re: /cteams - Luka P. - 17.06.2009

Just make
gTeam[playerid] = NEW_TEAM; // change new team to team name


Re: /cteams - will_92 - 17.06.2009

omg ,, i NEED A COMPLETE COMMAND SCRIPT that can do that /switch command , not a part of it , but a complete one please...


Re: /cteams - Luka P. - 17.06.2009

You expect someone to do that command?
We will give you just examples


Re: /cteams - will_92 - 17.06.2009

please

I need that