[Ajuda] Comando/Procurado
#10

Quote:
Originally Posted by iFucK
Посмотреть сообщение
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;
            }
            if( GetPlayerWantedLevel( playerid ) > 0 )
            {
                MensagemFormatada( playerid, COLOR_ERRO, "[ x ] %s Vocк estб procurado.", PlayerName( id ));
                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;
    }
@Caio
Troco Wanted > 0 Agr ? kk
troquei pq me confundi fiz na pressa dps que postei que eu vi :/
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: 1 Guest(s)