NPC Medic — Common Errors & FAQ
Have a question or encounter an issue while running fs_npcmedic? Check the common questions and error solutions below.
❓ Q: Why does /help say the service is currently unavailable?
Cause
This occurs when real player EMS/medics are online and on duty, and their count meets or exceeds the threshold configured in config.mediccommands.restriction.stop_command_if_active_ems_more_then.
Solution
- Open
fs_npcmedic/config/config.lua. - Check
config.mediccommands.restriction:luarestriction = { enable = true, ems_jobs = { 'ambulance', 'doctor' }, stop_command_if_active_ems_more_then = 2, -- Increase this number or set enable = false for testing } - If you want players to always be able to call NPC medics regardless of online EMS, set
enable = false.
❓ Q: Why does /help say "You are not dead" even though the player is downed?
Cause
The death state from your custom or updated ambulance script is not recognized by IsPlayerDead() in the bridge/ folder.
Solution
- Open
fs_npcmedic/bridge/and findIsPlayerDead(). - Ensure your ambulance resource name matches the condition check:
- For wasabi_ambulance v2+: ensure
LocalPlayer.state['wasabi:deathState'] == 2. - For qbx_medical: ensure
exports.qbx_medical:IsDead(). - For custom scripts: add an
elseifblock calling your script's death export.
- For wasabi_ambulance v2+: ensure
❓ Q: Why is the revive fee not depositing into the society account?
Cause
The society name does not match your framework's banking configuration.
Solution
- Open
fs_npcmedic/config/config.luaand verifymoney_job_name = 'ambulance'. - For ESX, the script automatically prefixes
society_(resulting insociety_ambulance). Ensuresociety_ambulanceexists in youraddon_accountdatabase table or banking system. - For QBCore/Qbox, ensure management account
ambulanceexists in your banking resource (e.g.qb-management,qb-banking, orrenewed-banking).
💬 Need More Help?
If your issue or question isn't listed here, feel free to open a ticket in our official Discord community:
