Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. local fastpoj = getVehicleHandlingProperty(veh,"maxVelocity")
  2. local fastmax = getVehicleHandlingProperty(veh,"engineAcceleration")
  3. local Pojemnosc = getElementData(veh,"Pojemnosc:silnika") or "1.0"
  4. if Pojemnosc == '1.2cm3' then
  5. setVehicleHandling(veh,"engineAcceleration",fastmax-2)
  6. setVehicleHandling(veh,"maxVelocity",fastpoj-10)
  7. elseif Pojemnosc == '1.4cm3' then
  8. setVehicleHandling(veh,"maxVelocity",fastpoj)
  9. setVehicleHandling(veh,"engineAcceleration",fastmax)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement