Added
- Built-in death system for standalone/vMenu servers: you stay downed instead of auto-respawning
- Free-look camera while downed (move the mouse to look around, scroll wheel to zoom)
- Hold E to respawn at the nearest hospital after a configurable delay
/revive,/revive [id]and/down(testing) commandsConfig.DeathSystem.enabledtoggle; turns off automatically on QBCore or whenCES_DeathSystemis running- Default keybind F9 to call the AI medic (players can rebind it)
- Ambulance now spawns on a real road 120–220m away and drives to you
- Readable cause of death shown during treatment (e.g. Gunshot wound (pistol))
- Stuck recovery: the ambulance or medic is moved into place if they can't reach you
- Per-player cooldown (
Config.Cooldown) Config.Invincibleoption for the medic and ambulance- Labels and headings for hospitals in
Config.Hospitals - All player messages are editable in
Config.Text
Changed
- Standalone is now the default; QBCore is optional and detected automatically
- All timings in
config.luaare now in seconds instead of milliseconds Config.MaxEMSOnlinerenamed toConfig.MaxEMSOnDuty(default0) and now only counts on-duty EMS- QBCore fees are charged from bank first, then cash (
Config.ChargeAccounts) - Standalone notifications use the GTA notification feed instead of chat
- The respawn prompt is hidden while an AI medic is on the way
- The medic no longer flees or reacts to gunfire and traffic
- File layout reorganized into
client/andserver/folders
Removed
- Old
customaimedic:revivePlayerandcustomaimedic:chargePlayerevents Config.Hospitals.defaultfallback entry (the nearest hospital is always used)
Fixed
- The ambulance never drove to the hospital after reviving (medic wasn't put back in the driver's seat)
- Cause of death always showed "unknown"
- A failed model load could freeze the script until the resource was restarted
- The AI medic still responded when EMS were on duty
- Standalone showed "EMS fee skipped due to server error" on every call
- The ambulance, medic and medbag were left in the world if a player disconnected or the resource restarted
Security
- Any player could revive themselves or others at any time by triggering the old revive event
- Any player could charge other players' bank accounts through the old charge event
- The server now runs every call (dispatch, treatment timing, charging and revive), and all client requests are checked