What have i done wrong in this if statement
#3

Yeah, so just another case of the old || and && mixup.
pawn Код:
if(gTeam[playerid] != POLICE && gTeam[playerid] != STAT) return SendClientMessage(playerid, COLOR_RED2, "[ERROR] :{FFFFFF} To use this command you need to be in Stat or police");
This seems like it should work.
Reply


Messages In This Thread
What have i done wrong in this if statement - by thefatshizms - 15.12.2012, 00:18
Re: What have i done wrong in this if statement - by CoaPsyFactor - 15.12.2012, 00:36
Re: What have i done wrong in this if statement - by Threshold - 15.12.2012, 01:50

Forum Jump:


Users browsing this thread: 2 Guest(s)