Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Mod Cleo Limitador de Velocidade

Esse mod limita a velocidade do seu carro e deixa na mesma velocidade dos carros dos civis no gta sa. Quando você ultrapassa a velocidade máxima o motor é desligado.



Esse mod requer o Cleo 4

Download mod limitador de velocidade

Para instalar coloque o arquivo na pasta Cleo na raiz do gta sa.
Para ativa e desativar o Mod use L.

Código do mod: (Source)

{$CLEO .cs}

thread "velocidade"  





CONST

VEL_ATIVADA = 1@

END



VAR

VEL_ATIVADA : Integer = FALSE

END



:INI

wait 0



if

0256:   player $PLAYER_ACTOR defined

then



    if

    0AB0:  key_pressed 76 //L

    then

        if

        0039:   VEL_ATIVADA == FALSE

        then

            VEL_ATIVADA = TRUE

            0ACA: show_text_box "Limitador de Velocidade - Ativado"

            wait 1000

        else

            VEL_ATIVADA = FALSE

            0ACA: show_text_box "Limitador de Velocidade - Desativado"

            if

            056E:   car $CARRO_ACTOR defined

            then

                0ABF: set_vehicle $CARRO_ACTOR engine_state_to 1

            end

            wait 1000

        end

    end

 

    if

    0039:   VEL_ATIVADA == TRUE

    then

 

        if

        00DF:   actor $PLAYER_ACTOR driving

        then

            03C0: $CARRO_ACTOR = actor $PLAYER_ACTOR car

        end

     

        if

        056E:   car $CARRO_ACTOR defined

        then

            02E3: $velo_carro = car $CARRO_ACTOR speed

            if

            0020:   $velo_carro > 12.0

            then

                0ABF: set_vehicle $CARRO_ACTOR engine_state_to 0

            else

                0ABF: set_vehicle $CARRO_ACTOR engine_state_to 1

                wait 500

            end    

        end

                 

    end

 

end

wait 0

jump @INI



end_thread


This post first appeared on Salathiel++, please read the originial post: here

Share the post

Mod Cleo Limitador de Velocidade

×

Subscribe to Salathiel++

Get updates delivered right to your inbox!

Thank you for your subscription

×