Jump to content

Make player walk crouched


BriGhtx3

Recommended Posts

Hey,

always when I set the control state to crouched then the player crouches for a second and immediately stands up again.

I want the player to always walk crouched and disable sprinting and walking when he is standing:

toggleControl("jump",false) 
    toggleControl("sprint",false) 
toggleControl("walk",false) 
    setControlState("crouch",true) 

Why doesn't this work? It is in a function and clientside

Link to comment

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...