fairyoggy Posted March 18, 2020 Share Posted March 18, 2020 function enterVehicle ( theVehicle, seat, speed) local id = getElementModel(theVehicle) local myCar = getPedOccupiedVehicle(source) if id == 411 then setVehicleHandling(myCar,"maxVelocity",tonumber(400)) end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), enterVehicle ) Infernus car accelerates to 199 km/h but i need more how to do it? How to make the car pick up speed higher than it should be? Using this code, I could limit it to a certain point; everything worked, but how to make it higher than what is allowed? I also noticed that the restrictions do not work on boats, why? How limit the speed of boats? Link to comment
The_GTA Posted March 18, 2020 Share Posted March 18, 2020 (edited) 10 minutes ago, slapztea said: How to make the car pick up speed higher than it should be? Hello slapztea, I think you want to increase the "engineAcceleration" vehicle handling property. Please take a look at this wiki page. Sadly I don't know about boats. Maybe speed limit for boats is not implemented in GTA:SA? Edited March 18, 2020 by The_GTA 1 Link to comment
fairyoggy Posted March 18, 2020 Author Share Posted March 18, 2020 (edited) 14 minutes ago, The_GTA said: Hello slapztea, I think you want to increase the "engineAcceleration" vehicle handling property. Please take a look at this wiki page. Sadly I don't know about boats. Maybe speed limit for boats is not implemented in GTA:SA? solved. thanks you. BUT question about boats is relevant. Maybe someone knows Edited March 18, 2020 by slapztea Link to comment
The_GTA Posted March 18, 2020 Share Posted March 18, 2020 6 minutes ago, slapztea said: solved. thanks you No problem! I am happy to hear that you could get your Infernus drive faster On certain areas of the map you can find arbitrary vehicle speed limits. A very famous one is the Strip in Las Venturas. To remove these limits please use the setWorldSpecialPropertyEnabled function with the "extraairresistance" property. 1 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