Imposter Posted January 5, 2013 Share Posted January 5, 2013 Hello guys, how can i set and retrieve the top speed of a car? I HAVE tried Max Velocity, but that doesnt increase the top speed, it doesnt go any faster Link to comment
Imposter Posted January 5, 2013 Author Share Posted January 5, 2013 Anyone want to help me? Link to comment
Scooby Posted January 5, 2013 Share Posted January 5, 2013 It's a known fact that you often dont reach the topspeed or general speed that you set it to. if your vehicle really reaches that, is depending on other factors. To learn more about those and how to make your vehicle reach the real speeds that you set it to, read HERE: https://forum.multitheftauto.com/topic/81280-helptop-speed/?do=findComment&comment=744003 if u want to get the top speed value u can use getModelHandling this will only show u values in table tho, i think u want to Increase vehicle top speeds.. if so, theres a few ways u can do it, either by altering top speed, drag or acceleration... example: to speed up the FCR-900: setModelHandling(521, "maxVelocity", 960) setModelHandling(521, "engineAcceleration",18) setModelHandling(521, "dragCoeff", 0.01) u can play around with the values to get the accel and speed u need, and of course change the ID (521) to the vehicle u need to change. this will make the fcr-900 do around 190mph with reasonable acceleration to match. this code will only change the handling on vehicles created after this is ran, not vehicles already created. run it before u create them if u need it that way. Link to comment
Moderators Vinyard Posted August 17, 2022 Moderators Share Posted August 17, 2022 2 hours ago, Itzmeitachi said: where to add this Hi, welcome to the forums! Please create your own topic if you're seeking scripting-related help. Make sure to follow the rules and avoid bumping very old threads such as this one (it's 9 years old!) in the future! Locking this to avoid other bumps. Link to comment
Recommended Posts