28.05.2018, 12:21
change this
into this
PHP код:
if(allTeams[playerid] == TEAM_POLICE) return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be a police officer or a army member!");
if(allTeams[playerid] == TEAM_ARMY) return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be a police officer or a army member!");
{
PHP код:
if(allTeams[playerid] != TEAM_POLICE && allTeams[playerid] != TEAM_ARMY) return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be a police officer or a army member!");