[Help]How to remove the death timer feature in qbcore

I just installed qbcore frame work in my server and I noticed that every time the character died,there is
always a death timer below and I have to wait for about 400s
How do I remove this feature or change some parameters so that i just need to wait for a few seconds
Highly appreciate it

Hello,

You can change the config values in qb-ambulancejob/config.lua.

Can you help me? When the player is dead and he disconnects and comes back in again, he is alive. Can I prevent that and set it to complete death after logging in again?

I do not believe it to be a standard feature with qb.
You might have to make some changes to the code.

I would save the state of the player when they disconnect or before a server restart under metadata.

After selecting their character, do a check against the state and set the health to 0 if they are supposed to not be alive.

Highly appreciate

1 Like

@Re1ease1 I would save the state of the player when they disconnect or before a server restart under metadata.

An addition to this message;

There is metadata for the state qb-core/server/player.lua:L115.
Perhaps start there. If your players respawn alive then try to find out what’s resetting the state on drop/join.

Highly appreciate

1 Like