roddydennvor Posted May 8, 2015 Share Posted May 8, 2015 Hii there , how to use setmodelhandling with item system ? So when i have item id 10 in my vehicle , then my vehicle velocity +30 from normal velocity and my vehicle brake ABS turn to True .. Link to comment
roddydennvor Posted May 8, 2015 Author Share Posted May 8, 2015 so i just use like this ... ??? if (itemID == 10) then setVehicleHandling(v, "maxVelocity", 300.0) end Link to comment
WhoAmI Posted May 8, 2015 Share Posted May 8, 2015 Something like that. I'm not good at handling. Link to comment
roddydennvor Posted May 8, 2015 Author Share Posted May 8, 2015 hmm not work : if exports.global:hasItem(theVehicle, 10) then setVehicleHandling(theVehicle, "maxVelocity", 300.0) setVehicleHandling(theVehicle, "engineAcceleration", 90.0 ) end Link to comment
WhoAmI Posted May 8, 2015 Share Posted May 8, 2015 Well, where do you insert it? Show me whole function. Items are saved into player's account or vehicle's data? 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