Dzsozi (h03) Posted May 1, 2014 Posted May 1, 2014 Hello guys! Today I was thinking if there's any way to do a 'function' or I don't know how to call it, which is like this: the player is walking default, but if he holds down shift or space he starts to jog, but if he keeps pressing/hitting shift or space, the character starts to sprint. I want to do this for my project, but I don't know the way how. Can anybody help me please? Your signature image is too large. Removed
Moderators IIYAMA Posted May 2, 2014 Moderators Posted May 2, 2014 Control state: >walk< Make the player move slowly/quietly https://wiki.multitheftauto.com/wiki/Control_names Which is walking and jogging. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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