kasya85 Posted June 26, 2017 Posted June 26, 2017 Help me set vehicle handling (like driving drunk) setVehicleHandling
kasya85 Posted June 27, 2017 Author Posted June 27, 2017 13 hours ago, kikos500 said: what do u mean by driving drunk? driver is drunk
pa3ck Posted June 27, 2017 Posted June 27, 2017 I'm not sure if there's a native MTA function that will do that, but as far as I remember, it only presses random buttons (eg. direction change, brake/accelerate), which can easily be done with Lua. 1
WorthlessCynomys Posted June 27, 2017 Posted June 27, 2017 You can do it with @pa3ck's method. --[[ You can set a little shake to the camera, and you can press controls randomly for a period of time. --]] math.random() setPedControlState() setTimer() setCameraShakeLevel() -- with these, you can easily make a drunk effect. 1
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