The fall command: the caller falls over into a ragdoll and gets back up once the delay has passed.

Summary

Methods

Makes the player fall over and get back up by themselves after the delay.

Methods

CMD:on_run(actor, delay)

shared plugins/ragdoll/plugin/commands/sh_fall.lua:18

Makes the player fall over and get back up by themselves after the delay. Notifies the player instead if they are dead, already ragdolled, in a vehicle or noclipping, or if they have used the command less than the ragdoll_fall_cooldown config ago.

Parameters

  • actor Player the caller
  • delay String/Number optional, defaults to nil seconds until the player gets up, clamped between the ragdoll_getup_time config and 60

Defined in