Team_cop - teams question - 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)
+--- Thread: Team_cop - teams question (
/showthread.php?tid=348088)
Team_cop - teams question -
TheDiscussionCafe - 04.06.2012
hi guys. how can i make so when player type (zcmd) in /teamcop , they will become into gTeam == Team_Cop ?
Re: Team_cop - teams question -
Ballu Miaa - 04.06.2012
Try this.
pawn Код:
COMMAND:teamcop(playerid, params[])
{
SendClientMessage(playerid, COLOR_GREY, "Your Team has been changed to LSPD(Cops)!");
gTeam[playerid] = TEAM_COP; // Or The Number of the tam.
return 1;
}