[Conversion] dcmd_ to CMD: (zcmd)
#2

Delete all the OnPlayerCommandText and add:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(Info[playerid][Jailed]) return SendClientMessage(playerid, RED, "ERROR: You can't use commands in jail!");
    return 1;
}
Reply


Messages In This Thread
[Conversion] dcmd_ to CMD: (zcmd) - by iAnonymous - 10.04.2014, 12:57
Re: [Conversion] dcmd_ to CMD: (zcmd) - by Stinged - 10.04.2014, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)