04.06.2012, 03:26
hi guys. how can i make so when player type (zcmd) in /teamcop , they will become into gTeam == Team_Cop ?
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;
}