You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To give some context on this issue, there are two different code paths for re-spawning at the hospital. One is client side, when the client checks-in at the front desk, they search for the nearest bed and go to it.
The second code path is server side when respawning. The server checks the list of beds for the first one not taken and spawns the client there. Some refactoring to bring these two code paths in alignment would clean-up some tech debt and fix this issue.
Things to keep in mind
players not in jail should not respawn at the jail hospital, but it does make sense that they can check-in there.
players should otherwise respawn in closest bed not taken
The problem
When you die, you go to one hospital
Ideal solution
Game should calculate closest hospital and send you there to the configured beds.
Alternative solutions
No
Additional context
Similar to this: qbcore-framework/qb-ambulancejob#299
But also include going to nearest hospital when a player holds E to re-spawn.
The text was updated successfully, but these errors were encountered: