Garry's Mod Wiki

CLuaLocomotion:Jump

  CLuaLocomotion:Jump( number act = ACT_JUMP )

Description

Makes the bot jump. It must be on ground (Entity:IsOnGround) and its model must have ACT_JUMP activity.

Arguments

1 number act = ACT_JUMP
The activity to use as the jumping animation.