Garry's Mod Wiki

GM:OnPlayerJump

  GM:OnPlayerJump( Entity player, number speed )
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Just Added

This was just added in the latest version (2023.09.06). It might only be available on the Dev Branch right now.

Description

Called when a player jumps.

Arguments

1 Entity player
Player
2 number speed
The velocity/impulse of the jump