Luccas Posted July 22, 2019 Share Posted July 22, 2019 Olá, queria saber se tem algum código para fazer que a viatura das corporação no meu servidor não capotasse tão fácil. (Fiz um script que ele edita a velocidade mais não sei o nome pra não capotar) function loadHandling(v) if getElementModel(v) == 560 then setVehicleHandling(v, "mass", 1600) setVehicleHandling(v, "turnMass", 3000) setVehicleHandling(v, "dragCoeff", 1.8) setVehicleHandling(v, "centerOfMass", { 0, 0.15, -0.3 } ) setVehicleHandling(v, "percentSubmerged", 75) setVehicleHandling(v, "tractionMultiplier", 0.9) setVehicleHandling(v, "tractionLoss", 0.9) setVehicleHandling(v, "tractionBias", 0.497) setVehicleHandling(v, "numberOfGears", 5) setVehicleHandling(v, "maxVelocity", 211) setVehicleHandling(v, "engineAcceleration", 15) setVehicleHandling(v, "engineInertia", 50) setVehicleHandling(v, "driveType", "awd") setVehicleHandling(v, "engineType", "petrol") setVehicleHandling(v, "brakeDeceleration", 50) setVehicleHandling(v, "ABS", false) setVehicleHandling(v, "steeringLock", 35) setVehicleHandling(v, "headLight", 0) setVehicleHandling(v, "tailLight", 1) setVehicleHandling(v, "animGroup", 0) setVehicleHandling(v, "suspensionUpperLimit", 0.0) setVehicleHandling(v, "suspensionLowerLimit", -0.04) end Link to comment
Gab MTA Posted May 31, 2021 Share Posted May 31, 2021 Tente isso: function loadHandling(v) if getElementModel(v) == 560 then setVehicleHandling(v, "mass", 1600) setVehicleHandling(v, "turnMass", 3000) setVehicleHandling(v, "dragCoeff", 1.8) setVehicleHandling(v, "centerOfMass", { 0, 0.15, -0.3 } ) setVehicleHandling(v, "percentSubmerged", 75) setVehicleHandling(v, "tractionMultiplier", 0.9) setVehicleHandling(v, "tractionLoss", 0.9) setVehicleHandling(v, "tractionBias", 0.497) setVehicleHandling(v, "numberOfGears", 5) setVehicleHandling(v, "maxVelocity", 211) setVehicleHandling(v, "engineAcceleration", 15) setVehicleHandling(v, "engineInertia", 50) setVehicleHandling(v, "driveType", "awd") setVehicleHandling(v, "engineType", "petrol") setVehicleHandling(v, "brakeDeceleration", 50) setVehicleHandling(v, "ABS", false) setVehicleHandling(v, "steeringLock", 35) setVehicleHandling(v, "headLight", 0) setVehicleHandling(v, "tailLight", 1) setVehicleHandling(v, "animGroup", 0) setVehicleHandling(v, "suspensionUpperLimit", 1) setVehicleHandling(v, "suspensionLowerLimit", -0.3) end Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now