Skip to content

Commands & permissions

Commands, keys and permissions of Cuxial Medical for staff, EMS and players.

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 ​

CommandWhoWhat it does
/medadminStaff with admin.permissionOpens the admin panel.
/revive [id]ACE group group.modRevives the player with a get-up animation and resets hunger, thirst and stress. Without id, yourself.
/heal [id]ACE group group.modRestores 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.modDowns the player. On a player who is already downed, moves them to the next phase. Without id, yourself.
/medtest2 [option]ACE group group.adminStaff 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.adminStaff test of paramedic animations. Options: kneel, tend, tod, old, scenario <kneel|tend|tod>, exit, stop.
/stretcherEMS on dutyPlaces a stretcher, picks up the one within 3 metres, or drops the one being carried.
/delstretcherEMS on dutyRemoves the stretcher within 5 metres.
/mdstretcherACE group group.modRemoves 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.

KeyWhenWhat it does
GDownedCalls the EMS. Once per death, not in the last phase.
E (hold)Downed, in a phase that allows respawnRespawns at the hospital.
Right mouse button (hold)DownedZooms the camera.
W SLast standCrawls forwards or backwards.
A DLast standTurns.
SpaceLast standFlips around.
ELying on a hospital bedGets up.
XCarrying a stretcherDrops it.
ECarrying a stretcherLoads it into the nearest compatible vehicle.
XLying on a stretcherGets 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:

restrictedWho can use the command
An ACE group, such as 'group.mod'Players in that group.
falsePlayers with admin.permission.

To add a player to the default group:

server.cfg
cfg
add_principal identifier.license:xxxxxxxxxxxxxxxx group.mod

EMS ​

FeatureRequirement
Medical items, medical bag, stretcherA job listed in jobs, on duty
Receiving distress callsA job listed in jobs, on duty
Lying on a hospital bed, check-in at the receptionAny player
FinisherAny player holding a weapon from finisher.weapons
Painkillers and self-use bandageAny player, when the extra is enabled

© Cuxial