[Explicacion] Como hago para bloquear comandos
#10

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(BloquearComandos[playerid] == true && strcmp(cmdtext, "salir", false) == -1)
    {
        SendClientMessage(playerid, -1, "Utiliza /salir!");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)