Noah_Antilles Posted August 17, 2017 Share Posted August 17, 2017 (edited) Hello there, Recently I've been trying to change the handling of the rhino and beagle using setVehicleHandling. The problem is very simple, it doesn't work. When I change the vehicle ID to a regular car (infernus, banshee or what have you) it works perfectly Is it not possible to change the handling of aircraft and the rhino? or is there some other way to change it? For now I just want to alter the accelation and top speed of the vehicle (I took the script from the mta wikia) function vhandling ( ) for _,v in pairs(getElementsByType("vehicle")) do if getElementModel(v) == 432 then -- Rhino ID, any regular car ID works, rhino doesn't setVehicleHandling(v, "maxVelocity", 30000.0) setVehicleHandling(v, "engineAcceleration", 30000.0) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), vhandling ) Thanks in advance! Edited August 17, 2017 by Noah_Antilles Link to comment
WorthlessCynomys Posted August 17, 2017 Share Posted August 17, 2017 Hy, as far as I know, you can not set the handling of helicopters or planes. Sadly, I don't know if this is true for the Rhino too. Link to comment
Noah_Antilles Posted August 17, 2017 Author Share Posted August 17, 2017 @StormFighter Thanks for your reply! I think it would be strange that it's not possible to change an aircraft's handling, since it's possible in SAMP. Hopefully there is another way to do it. 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