How to revive players on a FiveM server when no EMS is online
Short answer: to let players get revived on a FiveM server when no EMS is on duty, use an NPC doctor station that only opens while few medics are online. Players carry the injured person to the doctor, pay for the treatment, and the doctor revives them. Goliath Revive Station does this for ESX Legacy, QBCore and Qbox without taking work away from your ambulance job.
The problem with free revives
At night and on quiet days there is often no medic online. Players then wait, respawn and lose their roleplay, or staff hands out revives by command. A free revive command removes any risk from dying, an NPC doctor that is always open makes your EMS job pointless.
What a good revive station does
Closes when medics are on duty. The station should only open while fewer than a set number of medics are online, and medics on duty should not be able to use it.
Costs money. Revives and wound treatments have their own prices, paid from cash or bank, optionally into the ambulance society account.
Needs roleplay. Someone has to bring the patient to the doctor. A downed player lying next to the station may call the doctor themselves.
Is fair. If the patient is carried away, revived by someone else or disconnects during treatment, the payer gets the money back.
How Goliath Revive Station works
The server lists everyone at the station who needs help, with character name, distance and condition. The player picks the patient, chooses cash or bank and pays. The doctor ped turns to the patient and works on them, visible for everyone nearby, while payer and patient see the remaining time. Cooldowns per payer and per patient stop abuse, a health insurance item can lower the price and aftercare items like bandages can be handed out afterwards.
Questions
Does it work with my ambulance job?
Yes. The medic jobs are set in the config, and the station closes as soon as the set number of them is on duty.
Can injured players treat themselves?
Injured players can get their wounds treated at the station, and a downed player next to the station can call the doctor with a key.
Where does the money go?
To a society account such as the ambulance job, or it leaves the economy completely, as set in the config.