[Ajuda] Setar determinado tempo!
#1

Olб,

Primeiramente Boa Noite, Ontem mesmo criei um comando, No qual faz o veiculo ficar blindado (indestrutнvel).
Sу que eu quero isso:
Ao usar o comando /blindar seta um tempo determinado para acabar a Blindagem e ficar normal, Й possнvel? Se sim oque usar? : P

pawn Код:
if( !strcmp( cmd, "/blindar", true ))
    {
        if( !IsPlayerInAnyVehicle( playerid ))
        {
             SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo estб em um veнculo !" );
             return 1;
        }
        if( !PlayerToPoint( 1.1, playerid,1911.1052,-1776.7916,13.0881 ))
        {
            new
                v = GetPlayerVehicleID( playerid )
            ;
            SetVehicleHealth( v, 1000 );
            RepairVehicle( v );
            TempoAutoReparar = SetTimerEx("AutoReparar", 200, true, "i", playerid);
            Ativado[playerid] = 1;
            SendClientMessage(playerid, 0xDFDFDFAA, "{B0C4DE}[ - ] Vocк agora estб usando Blindagem!.");
            SendClientMessage(playerid, COLOR_ERRO, "[ - ] Avise um Administrador para evitar transtornos!");
            return 1;
        }
        if( pInfo[ playerid ][ Level ] <= 10 )
        {
            SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo tem level o suficiente ! ( Somente level superior a 10 )" );
            return 1;
        }
        if( GetPlayerCash( playerid ) < 20000 )
        {
            SendClientMessage( playerid, COLOR_ERRO, "[ x ] Vocк nгo tem dinheiro o suficiente ! {FFFFFF}( Preзo {009900}$20.000 {FFFFFF} )" );
            return 1;
        }
        return 1;
    }
Reply


Messages In This Thread
Setar determinado tempo! - by ThuuGLif3 - 11.11.2013, 20:52
Re: Setar determinado tempo! - by DannielCooper - 11.11.2013, 21:28
Respuesta: Setar determinado tempo! - by ViniKuliveguisky - 11.11.2013, 22:14
Re: Setar determinado tempo! - by ThuuGLif3 - 12.11.2013, 02:19
Re: Setar determinado tempo! - by DannielCooper - 12.11.2013, 10:51
Respuesta: Re: Setar determinado tempo! - by ViniKuliveguisky - 12.11.2013, 12:10
Respuesta: Setar determinado tempo! - by DanDRT - 12.11.2013, 12:20
Re: Setar determinado tempo! - by Eudes - 12.11.2013, 14:06
Respuesta: Re: Setar determinado tempo! - by ViniKuliveguisky - 12.11.2013, 18:57
Re: Respuesta: Re: Setar determinado tempo! - by ThuuGLif3 - 12.11.2013, 21:14

Forum Jump:


Users browsing this thread: 1 Guest(s)