Dretax Posted November 5, 2017 Share Posted November 5, 2017 I don't exactly know how conversion would go for a vehicles maxspeed in miles / hour. Link to comment
Unknown-Guy Posted November 5, 2017 Share Posted November 5, 2017 (edited) kmh = math.floor(actualspeed*180) -- Kilometer per hour mph = math.floor(actualspeed * 111.847) -- Miles per hour Edited November 5, 2017 by Unknown-guy Link to comment
Dretax Posted November 5, 2017 Author Share Posted November 5, 2017 3 hours ago, Unknown-guy said: kmh = math.floor(actualspeed*180) -- Kilometer per hour mph = math.floor(actualspeed * 111.847) -- Miles per hour Get Vehicle's Maxspeed handing in Miles / Hour Link to comment
Moderators IIYAMA Posted November 5, 2017 Moderators Share Posted November 5, 2017 https://wiki.multitheftauto.com/wiki/GetVehicleHandling or https://wiki.multitheftauto.com/wiki/GetModelHandling or https://wiki.multitheftauto.com/wiki/GetOriginalHandling At key/index. maxVelocity Combine with the post of the @Unknown-guy. Link to comment
Dretax Posted November 6, 2017 Author Share Posted November 6, 2017 On 2017. 11. 05. at 19:01, IIYAMA said: https://wiki.multitheftauto.com/wiki/GetVehicleHandling or https://wiki.multitheftauto.com/wiki/GetModelHandling or https://wiki.multitheftauto.com/wiki/GetOriginalHandling At key/index. maxVelocity Combine with the post of the @Unknown-guy. The maxvelocity would return a different value, for setVehicleHandling(jarmu, "maxVelocity", 93.5) max speed i could get is 68 mp/h, which means that your method wouldn't work. Link to comment
Moderators IIYAMA Posted November 6, 2017 Moderators Share Posted November 6, 2017 This is all there is. 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