23.07.2013, 01:20
Try this
You defined it "wCRINIMALS" and wrote it in the command "CRINIMALS". Anyway, it's criminals not crinimals.
pawn Код:
if (strcmp("/myteam", cmdtext, true, 10) == 0)
{
if(pTeam[playerid] == POLICE){
SendClientMessage(playerid,COLOR_BLUE,"You're a police officer");
return 1;
}
if(pTeam[playerid] == wCRINIMALS){
SendClientMessage(playerid,COLOR_RED,"You're a crinimal");
return 1;
}