The forcefall staff command: makes the target players fall over, and optionally get back up after a delay.

Summary

Methods

Makes every living target that is not ragdolled fall over, and notifies the staff.

Methods

CMD:on_run(actor, targets, delay)

shared plugins/ragdoll/plugin/commands/sh_forcefall.lua:17

Makes every living target that is not ragdolled fall over, and notifies the staff.

Parameters

  • actor Player the caller; not valid when run from the server console
  • targets List<Player> players to knock down
  • delay String/Number optional, defaults to 0 seconds after which the targets get up by themselves, clamped between 0 and 60; with 0 they stay down until they get up themselves

Defined in