Cuxial Medical has six staff commands, two EMS commands and the command that opens the admin panel. Every name can be changed in commands of shared/config.lua.
Commands
| Command | Who | What it does |
|---|---|---|
/medadmin | Staff with admin.permission | Opens the admin panel. |
/revive [id] | ACE group group.mod | Revives the player with a get-up animation and resets hunger, thirst and stress. Without id, yourself. |
/heal [id] | ACE group group.mod | Restores full health, clears every injury and resets hunger, thirst and stress. A downed player is revived first. Without id, yourself. |
/kill [id] | ACE group group.mod | Downs the player. On a player who is already downed, moves them to the next phase. Without id, yourself. |
/medtest2 [option] | ACE group group.admin | Staff test of visible wounds. Options: list, pack <name> [damage] [mult], decal <name> [zone] [x y], cause <cause>, heal <0-9>, clear. Add npc or id <serverId> to choose who receives it. |
/medtest4 [option] | ACE group group.admin | Staff test of paramedic animations. Options: kneel, tend, tod, old, scenario <kneel|tend|tod>, exit, stop. |
/stretcher | EMS on duty | Places a stretcher, picks up the one within 3 metres, or drops the one being carried. |
/delstretcher | EMS on duty | Removes the stretcher within 5 metres. |
/mdstretcher | ACE group group.mod | Removes every stretcher on the server. |
[id] is the server id of the player and is optional. The heal button of txAdmin is also supported: it heals the player, or revives them if they are downed.
Keys
Defaults from death.keys. Each player can rebind them in the GTA settings, under key bindings for FiveM.
| Key | When | What it does |
|---|---|---|
| G | Downed | Calls the EMS. Once per death, not in the last phase. |
| E (hold) | Downed, in a phase that allows respawn | Respawns at the hospital. |
| Right mouse button (hold) | Downed | Zooms the camera. |
| W S | Last stand | Crawls forwards or backwards. |
| A D | Last stand | Turns. |
| Space | Last stand | Flips around. |
| E | Lying on a hospital bed | Gets up. |
| X | Carrying a stretcher | Drops it. |
| E | Carrying a stretcher | Loads it into the nearest compatible vehicle. |
| X | Lying on a stretcher | Gets up. |
The last stand keys are fixed. While downed, the player keeps the camera, the chat key and push-to-talk.
Permissions
Admin panel
/medadmin asks your framework whether the player has the permission in admin.permission ('admin' by default). On ESX that means the groups admin and superadmin.
Staff commands
/revive, /heal, /kill and /mdstretcher use the restricted value of each command:
restricted | Who can use the command |
|---|---|
An ACE group, such as 'group.mod' | Players in that group. |
false | Players with admin.permission. |
To add a player to the default group:
add_principal identifier.license:xxxxxxxxxxxxxxxx group.modEMS
| Feature | Requirement |
|---|---|
| Medical items, medical bag, stretcher | A job listed in jobs, on duty |
| Receiving distress calls | A job listed in jobs, on duty |
| Lying on a hospital bed, check-in at the reception | Any player |
| Finisher | Any player holding a weapon from finisher.weapons |
| Painkillers and self-use bandage | Any player, when the extra is enabled |
