Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2019-02-04, 19:01


Pyrek24







Wiek: 25
Na forum: 3438 dni
Posty: 546
Nick w MP: Pyrek

Piwa: 10

Respekt: 50

Witam ot?? je?eli ustawiam warto?? jak? ma pojazdowi doda? to np jak dodamy do s24 +6 do vmax, oraz do s26 +8 do vmaxu pojazdy jad? tyle samo
kod
        if tonumber(s18) ~= 0 then
        local fast1 getVehicleHandlingProperty(veh,"engineAcceleration")
        local maxfast1 getVehicleHandlingProperty(veh,"maxVelocity")
        setVehicleHandling(veh,"engineAcceleration",fast1+1)
        setVehicleHandling(veh,"maxVelocity",maxfast1+1)
        end
    
        if tonumber(s20) ~= 0 then
        local fast11 getVehicleHandlingProperty(veh,"engineAcceleration")
        local maxfast11 getVehicleHandlingProperty(veh,"maxVelocity")
        setVehicleHandling(veh,"engineAcceleration",fast11+1.1)
        setVehicleHandling(veh,"maxVelocity",maxfast11+2)
        end
        
        if tonumber(s22) ~= 0 then
        local fast2 getVehicleHandlingProperty(veh,"engineAcceleration")
        local maxfast2 getVehicleHandlingProperty(veh,"maxVelocity")
        setVehicleHandling(veh,"engineAcceleration",fast2+1.2)
        setVehicleHandling(veh,"maxVelocity",maxfast2+2)
        end
        
        if tonumber(s24) ~= 0 then
        local fast3 getVehicleHandlingProperty(veh,"engineAcceleration")
        local maxfast3 getVehicleHandlingProperty(veh,"maxVelocity")
        setVehicleHandling(veh,"engineAcceleration",fast3+1.3)
        setVehicleHandling(veh,"maxVelocity",maxfast3+2.5 )
        end
        
        if tonumber(s26) ~= 0 then
        local fast4 getVehicleHandlingProperty(veh,"engineAcceleration")
        local maxfast4 getVehicleHandlingProperty(veh,"maxVelocity")
        setVehicleHandling(veh,"engineAcceleration",fast4+1.4)
        setVehicleHandling(veh,"maxVelocity",maxfast4+4)
        end


Podpis
amta
Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-02-04, 20:29


TheGuruPolska







Wiek: 36
Na forum: 3767 dni
Posty: 65
Nick w MP: TheGuru

Piwa: 47

Respekt: 50

Zmie? jeszcze "dragCoeff"

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-02-04, 20:51


Pyrek24







Wiek: 25
Na forum: 3438 dni
Posty: 546
Nick w MP: Pyrek

Piwa: 10

Respekt: 50

Dzi?ki jutro obczaje i dam zna? a drag coeef co to daje xd?

Podpis
amta
Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-02-05, 10:45


TheGuruPolska







Wiek: 36
Na forum: 3767 dni
Posty: 65
Nick w MP: TheGuru

Piwa: 47

Respekt: 50

Szczerze to nwm ale jak dla mnie to daje to, ?e jest wi?kszy vmax :) A i nie mo?e by? mniejsze od 0. Polecam ustawi? na 0.1

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
Pyrek24
Tagi: handligni
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku