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

Wysłany: 2017-02-26, 00:52


Pemo97







Wiek: 26
Na forum: 3963 dni
Posty: 49

Piwa: 3

Respekt: 45,3

Witam, mam pytanie ma kto? jaki? skrypt na Serwer mta kt?ry zmienia handling pojazd?w na SERWERZE? Bym prosi? jak by kto? mia? :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-02-26, 00:58


amited







Wiek: 26
Na forum: 3855 dni
Posty: 1233
Nick w MP: Amited

Piwa: 512

Respekt: 466
Respekt: 466

function vhandling ( )
   for _,v in pairs(getElementsByType("vehicle")) do
      if getElementModel(v) == 411 then -------------- vehicle Id
        setVehicleHandling (v, "mass", 300.0)
        setVehicleHandling(v, "turnMass", 200)
        setVehicleHandling(v, "dragCoeff", 4.0 )
        setVehicleHandling(v, "centerOfMass", { 0.0,0.08,-0.09 } )
        setVehicleHandling(v, "percentSubmerged", 103)
        setVehicleHandling(v, "tractionMultiplier", 1.8)
        setVehicleHandling(v, "tractionLoss", 1.0)
        setVehicleHandling(v, "tractionBias", 0.48)
        setVehicleHandling(v, "numberOfGears", 5)
        setVehicleHandling(v, "maxVelocity", 300.0)
        setVehicleHandling(v, "engineAcceleration", 90.0 )
        setVehicleHandling(v, "engineInertia", 5.0)
        setVehicleHandling(v, "driveType", "rwd")
        setVehicleHandling(v, "engineType", "petrol")
        setVehicleHandling(v, "brakeDeceleration", 20.0)
        setVehicleHandling(v, "brakeBias", 0.60)
        -----abs----
        setVehicleHandling(v, "steeringLock",  35.0 )
        setVehicleHandling(v, "suspensionForceLevel", 0.85)
        setVehicleHandling(v, "suspensionDamping", 0.15 )
        setVehicleHandling(v, "suspensionHighSpeedDamping", 0.0)
        setVehicleHandling(v, "suspensionUpperLimit", 0.15 )
        setVehicleHandling(v, "suspensionLowerLimit", -0.16)
        setVehicleHandling(v, "suspensionFrontRearBias", 0.5 )
        setVehicleHandling(v, "suspensionAntiDiveMultiplier", 0.0)
        setVehicleHandling(v, "seatOffsetDistance", 0.0)
        setVehicleHandling(v, "collisionDamageMultiplier", 0.00)
        setVehicleHandling(v, "monetary",  10000)
        setVehicleHandling(v, "modelFlags", 1002000)
        setVehicleHandling(v, "handlingFlags", 1000002)
        setVehicleHandling(v, "headLight", 3)
        setVehicleHandling(v, "tailLight", 2)
        setVehicleHandling(v, "animGroup", 4)
      end
   end
end
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), vhandling )


Podpis
"amited" napisał/a:
Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
Pemo97
Wysłany: 2017-02-26, 09:44


_Haze

Peace Yo!






Wiek: 25
Na forum: 4325 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2628

Respekt: 1020
Respekt: 1020

Pemo97, poszukaj hedit na community fajny skrypt

Postaw piwo autorowi tego posta
 

 
Tagi: handling :: pojazdów
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » HANDLING POJAZDÓW Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

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