Garry's Mod Wiki

GM:HandlePlayerVaulting

  boolean GM:HandlePlayerVaulting( Player ply, number velocity )

Description

Allows to override player flying ( in mid-air, not noclipping ) animations.

Arguments

1 Player ply
The player
2 number velocity
Players velocity

Returns

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