[Ajuda] Comando/Procurado
#1

Olá, Venho atravez deste tópico pedir para Bloquearem esse comando para procurado ou seja....

Tal player usou o comando /consertar em Fuga e aparece-se a mensagem:

[ x ] Você está Procurado e não pode usar este Comando !

Já tentei Procurar/Fazer e nenhum deu certo!


pawn Код:
if( !strcmp( cmdtext, "/consertar", true ))
    {
        if( pInfo[ playerid ][ Prof ] == MECANICO || aInfo[ playerid ][ Admin ] == 1 || aInfo[ playerid ][ Moderador ] == 1 )
        {
            if( !IsPlayerInAnyVehicle( playerid ))
            {
                SendClientMessage( playerid, COLOR_ERRO, "[ x ] Você não está em um veículo !" );
                return 1;
            }
            SendClientMessage( playerid, COLOR_AMARELO, "[ > ] Veículo consertado !" );
            new
                v = GetPlayerVehicleID( playerid )
            ;
            resetNeon( playerid );
            SetVehicleHealth( v, 1000 );
            RepairVehicle( v );
            PlayerPlaySound( playerid, 1057, 0.0, 0.0, 10.0 );
        }
        else
        {
            SendClientMessage( playerid, COLOR_ERRO, "[ x ] Você não é um(a) Mecânico(a) !" );
        }
        return 1;
    }
Reply


Messages In This Thread
Comando/Procurado - Resolvido - by Sti - 19.09.2013, 03:26
Re: Comando/Procurado - by Blix - 19.09.2013, 03:28
Re: Comando/Procurado - by Sti - 19.09.2013, 03:29
Re: Comando/Procurado - by Blix - 19.09.2013, 03:31
Re: Comando/Procurado - by Sti - 19.09.2013, 03:33
Re: Comando/Procurado - by Caio_Freeze - 19.09.2013, 03:36
Re: Comando/Procurado - by Blix - 19.09.2013, 03:37
Re: Comando/Procurado - by iFucK - 19.09.2013, 03:38
Re: Comando/Procurado - by Sti - 19.09.2013, 03:56
Re: Comando/Procurado - by Caio_Freeze - 19.09.2013, 04:49

Forum Jump:


Users browsing this thread: 2 Guest(s)