OnplayerCommandReceived... Help here :(
#2

I don't see how that statement could ever work. If you type either of those commands, the value returned by strcmp will be 0, instantly rendering the whole statement false. This should be the correct logic:

pawn Код:
if(PlayerInfo[ playerid ][ isAFK ] == 1 && (!strcmp(cmdtext,"/back",true) || !strcmp(cmdtext,"/unjail",true) || !strcmp(cmdtext,"/uncage",true)))
Reply


Messages In This Thread
OnplayerCommandReceived... Help here :( - by kesarthakur - 25.09.2014, 07:29
Re: OnplayerCommandReceived... Help here :( - by Vince - 25.09.2014, 07:39
Re: OnplayerCommandReceived... Help here :( - by kesarthakur - 25.09.2014, 07:54

Forum Jump:


Users browsing this thread: 1 Guest(s)