[Ajuda] Blockear comando
#9

Quote:
Originally Posted by PT
Посмотреть сообщение
pra que isso?

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(PlayerInfo[playerid][pPresoADM] == 1)
    {
        SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк Estб Preso");
        return 0;
    }
    return 1;  
}
apenas isto...
Nгo uso zcmd, porisso nem lembri dessa callback
Reply


Messages In This Thread
@EDIT - by lekinho911 - 23.10.2013, 20:14
Re: Blockear comando - by iDreak - 23.10.2013, 20:18
Re: Blockear comando - by PT - 23.10.2013, 20:27
@EDIT - by lekinho911 - 23.10.2013, 20:55
Re: Blockear comando - by PT - 23.10.2013, 21:10
@EDIT - by lekinho911 - 23.10.2013, 21:19
Re: Blockear comando - by PT - 23.10.2013, 21:23
@EDIT - by lekinho911 - 23.10.2013, 21:27
Re: Blockear comando - by iDreak - 23.10.2013, 21:34
Re: Blockear comando - by PT - 23.10.2013, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)