[Ajuda] Blockear comando
#3

Quote:
Originally Posted by iDreak
Посмотреть сообщение
Coloque isso em todos Comandos
pawn Код:
if(PlayerInfo[playerid][pPresoADM] == 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк Estб Preso");
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...
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: 2 Guest(s)