ArdenHub Medico is a FiveM script that allows players to request medical assistance when they are dead, paying a sum of money to be revived. This system offers an alternative to traditional medical service when there are no medics available on the server.
/medicocommand to request medical assistance when dead- Configurable cost for revival
- Configurable timer for the revival process
- Realistic animation during the revival process
- Integration with ESX banking system
- ESX Framework
- ox_lib (for the progress bar)
- esx_ambulancejob (for the revival function)
- Download the script
- Place the
ardenhub_medicofolder in your server'sresourcesdirectory - Add
ensure ardenhub_medicoto yourserver.cfgfile - Restart the server or start the resource
You can modify the following settings in the config.lua
- When a player dies, they can type the
/medicocommand - The system checks if the player has enough money in their bank account
- If the player has sufficient funds, the cost is deducted from the bank account
- A revival timer begins (configurable)
- During the timer, a progress bar is shown and a revival animation is played
- At the end of the timer, the player is revived
The script uses the following events:
ardenhub_medico:checkMoney- Checks if the player has enough moneyardenhub_medico:startRevive- Starts the revival process
This script is released under the MIT License.
For support, contact ArDenHub in the discord or open an issue on GitHub.