• Adjusting up velocity when jump is pressed
    0 replies, posted
I'm wanting to change a players velocity when the space key is pushed. I've come up with this: [CODE]hook.Add( "Think", "upveloc", function( ply, key ) if ( key == IN_JUMP ) then ply:SetVelocity(ply:GetUp() * 9) end end )[/CODE]
Sorry, you need to Log In to post a reply to this thread.