The getup command: the fallen caller gets back up after a delay, during which they see a progress bar.

Summary

Methods

Makes the fallen player start getting up, showing them a progress bar until they are back on their feet.

Methods

CMD:on_run(actor, delay)

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

Makes the fallen player start getting up, showing them a progress bar until they are back on their feet. Notifies the player instead if they cannot: they are dead, not fallen over, knocked out, already getting up, or kept down by the PlayerCanGetUp hook.

Parameters

  • actor Player the caller
  • delay String/Number optional, defaults to nil seconds it takes to get up, clamped between the ragdoll_getup_time config and 60

Defined in