[HELP] /myteam problem.
#1

Quote:

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] == CRINIMALS){
SendClientMessage(playerid,COLOR_RED,"You're a crinimal");
return 1;
}

It will always say You're a crinimal.

Quote:

new pTeam[MAX_PLAYERS];
#define TEAM_wCRINIMALS 0
#define TEAM_POLICE 1

Any help?
Reply


Messages In This Thread
[HELP] /myteam problem. - by FishyZ - 22.07.2013, 16:59
Re: [HELP] /myteam problem. - by FishyZ - 22.07.2013, 17:22
Re: [HELP] /myteam problem. - by Red_Dragon. - 23.07.2013, 01:20

Forum Jump:


Users browsing this thread: 1 Guest(s)