Arrest command is not working for me.
#3

pawn Код:
if(PlayerInfo[i][pTiim] != 1 || PlayerInfo[i][pTiim] != 2) return SendClientMessage(playerid, C_RED, "SERVER: Sa ei tohi kaastццtajaid vangistada!");
Well, this will always return here, because either the player is supposed to be NOT 1 or to be NOT 2, so in any case one of both is true.

Should be:
pawn Код:
if(PlayerInfo[i][pTiim] == 0) return SendClientMessage(playerid, C_RED, "SERVER: Sa ei tohi kaastццtajaid vangistada!");
Reply


Messages In This Thread
Arrest command is not working for me. - by Dan. - 09.04.2012, 13:10
Re: Arrest command is not working for me. - by Dan. - 09.04.2012, 15:47
Re: Arrest command is not working for me. - by Jeffry - 09.04.2012, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)