Jump to content

Victor_Pachelli

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Victor_Pachelli

  1. coloquei uma handling na lamborguini huracan, que substitui o infernus(ID 411) mas a hand simplesmente nao quer funcionar, queria sabe o porque, e e so em alguns carros que nao vai, porque em outros carros ela funciona nao sei porque. local ID = 411 addEventHandler("onVehicleEnter", root, function () local veh = source if getElementModel(veh) == ID then setVehicleHandling(veh, "mass", 1300) setVehicleHandling(veh, "turnMass", 3400) setVehicleHandling(veh, "dragCoeff", 2) setVehicleHandling(veh, "centerOfMass", { 0, 0.1, -0.2 } ) setVehicleHandling(veh, "percentSubmerged", 85) setVehicleHandling(veh, "tractionMultiplier", 1.3) setVehicleHandling(veh, "tractionLoss", 0.8) setVehicleHandling(veh, "tractionBias", 0.5) setVehicleHandling(veh, "numberOfGears", 5) setVehicleHandling(veh, "maxVelocity", 280) setVehicleHandling(veh, "engineAcceleration", 19.2) setVehicleHandling(veh, "engineInertia", 3) setVehicleHandling(veh, "driveType", "awd") setVehicleHandling(veh, "engineType", "petrol") setVehicleHandling(veh, "brakeDeceleration", 15) setVehicleHandling(veh, "brakeBias", 0.55) setVehicleHandling(veh, "ABS", 1) end end)
  2. No caso então, aqui ta assim veh[player) = createVehicle(597, x, y, z, 0, 0, 0) warpPedIntoVehicle(player, veh[player]) Eu coloco setVehicleHandling(597, hand) Entre esses dois?
  3. então, eu queria saber como fazer, pois fiz e não funcionou, sou novo em programação em Lua, então não sei fazer as coisas direito, eu fiz assim: function handling () setVehicleHandling ( element 490, string 1500 4000 2.5 0 0.6 -0.9 80 2 5 0.4 4 240 55 5 4 p 158 0.45 false 25 1 0.2 0 0.45 -0.3 0.7 1 0.44 0 35000 20 4404 0 1 0, nil, false ) end
  4. Queria saber como posso fazer para mudar a handling de um veiculo no meu server, sem ser pelo painel B, quero que a handling fique permanente no veiculo quando eu spawnar ele, pois muitos mods que baixo as handlings são ruins e capotam o carro fácil, e não sei mudar.
×
×
  • Create New...