Skip to main content
Command names are configurable via Config.Commands in config.lua. Setting a value to false or '' skips registering that command entirely.

Player

There are no required player commands — the crutch item is used through the inventory and the medic NPC is interacted with via ox_target or ox_lib textUI.

Admin

All admin commands are gated by the group.admin ACE. Grant it like any other ace:
<id> is the FiveM server ID. Look it up with getplayerlist in the server console, or from txAdmin.

Examples

Force a crutch onto player 42 for 10 minutes (the default):
Force a crutch onto player 42 for exactly 30 minutes:
Clear player 42’s force lock and unequip the crutch:
Open the admin panel:
The admin panel shows every currently-forced player with the source label (e.g. EMS, or whatever you pass to ForceCrutch), seconds remaining, and a one-click clear button. The same data is available via the ListForced() export if you want to surface it in your own UI.