Garry's Mod Wiki

GM:HandlePlayerJumping

  boolean GM:HandlePlayerJumping( Player ply, Vector velocity )

Description

Called every frame by the player model animation system. Allows to override player jumping animations.

Arguments

1 Player ply
The player
2 Vector velocity
Players velocity

Returns

1 boolean
Return true if we've changed/set the animation, false otherwise