If statement issues
#2

Try putting
pawn Код:
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid, AdministrationError, "Error: You cannot use a command when you are jailed.");
At the top of OnPlayerCommandText so it's called first.
Reply


Messages In This Thread
If statement issues - by Christopher. - 24.02.2010, 17:47
Re: If statement issues - by [HiC]TheKiller - 24.02.2010, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)