Jump to content

Sprinting, jogging and walking


Recommended Posts

Posted

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
Posted

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 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...