You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Set a car with high speed (higher than 100) and acceleration and stuff in
the script file
2. Run this code
vehicle = Player:GetVehicle()
vehicleParams = vehicle:GetVehicleParams()
vehicleParams["engine"]["maxSpeed"] = 80
vehicle:SetVehicleParams(vehicleParams)
What is the expected output?
The vehicle will now reach the speed you set in mph
What do you see instead?
The vehicle struggles to accelerate past 50mph
If the new speed is set to anything less than 50 it works fine.
What version of the product are you using? On what operating system?
r240 gmsv_pimpmyride_win32.dll
Windows Server 2012
Please provide any additional information below.
Original issue reported on code.google.com by TinySla...@gmail.com on 14 Feb 2013 at 9:33
The text was updated successfully, but these errors were encountered:
Also, the vehicle maxSpeed parameter outputs a stupid integer. I have to do
this math.Round(newVehicle.VehicleParameters["engine"]["maxSpeed"] / 17.599) to
get the correct max speed.
Original comment by siranderson66 on 10 Mar 2013 at 1:00
Original issue reported on code.google.com by
TinySla...@gmail.com
on 14 Feb 2013 at 9:33The text was updated successfully, but these errors were encountered: