Pesquisa resultou em 2 ocorrências

por Israel
17 Jun 2018, 07:55
Fórum: Ideias de mods & Procura
Tópico: [SA] Pequeno boost de velocidade ao fazer "burnout".
Respostas: 18
Exibições: 2309
Gênero:

[SA] Pequeno boost de velocidade ao fazer "burnout".

ViniZ0Z escreveu:
17 Jun 2018, 05:48
É exatamente isso que o Israel fez, agora passa o mod.  :daora:
DOWNLOAD
Ow_Matth escreveu:
17 Jun 2018, 01:55
Eu gostei...  :philo: Tem o source?

Código: Selecionar tudo

local ffi = require "ffi"

function main()
    while true do
        wait(0)
        
        if isCharSittingInAnyCar(playerPed) then
            local veh = storeCarCharIsInNoSave(playerPed)          
            local fGBPedal = ffi.cast("float*", getCarPointer(veh) + 0x49C)
            
            if fGBPedal[0] > 0.0 and fGBPedal[1] > 0.0 then
                while fGBPedal[0] > 0.0 and fGBPedal[1] > 0.0 do
                    wait(0)
                end
                
                for i = 3.0, 25.0, 1.5 do
                    wait(0)
                    if fGBPedal[0] > 0.0 then
                        setCarForwardSpeed(veh, i)
                    end
                end
            end
        end
    end
end

Voltar para “[SA] Pequeno boost de velocidade ao fazer "burnout".”