Nopixel-style death animation. Synced death.
This FiveM ESX script fixes the esx_ambulancejob death animation. It is synced, so a dead player’s body lies in the same place for everyone.
Video preview
Features
- The body dies in the same place for everyone
- You can look around while dead
- Easy to add the buttons you still want to be able to press while dead
- The player does not ragdoll, so carry scripts actually carry the body instead of letting it hover
- The animation resets every 5 seconds, so players who arrive late still see the body lying down
- Death state is saved in the database (
is_deadcolumn)
Requirements
- ESX with esx_ambulancejob
- mysql-async
Installation
- Import
reload_death.sql(adds anis_deadcolumn tousers; the file targets a database namedessentialmode, so change it to your database name if needed). - Copy the
Reload_Deathfolder into your resources and addensure Reload_Deathto your server.cfg. - Add the
reload_deathevent handlers and callbacks toesx_ambulancejob/client/main.luaandclient/job.luaas shown step by step inreadme.md.