Language

onJump


onJump(bool airjump)

Description

onJump() is a callback function called when the player jumps.

Parameters

airjump
True if the jump is an airjump. False otherwise.

Examples

Death on airjump

  1. function onJump(air)
  2.     if air then
  3.         Player.kill()
  4.     end
  5. end