With this script, players are forced to visit a nearby hospital after a revival to get a medical treatment.
After a revive, players are unable to fight, use weapons or sprint.
Other player actions can be changed in the config.lua or client.lua.
Why using this script?
Forcing players to visit the hospital leads to more roleplay interactions in hospitals.
Players can’t fight directly after a revive
The script is barely encrypted, (only server.lua) so it is customisable for each server.
Whats about performance?
UNREADY has a very decent performance. Idle it is at 0.01ms
The script is already tested and used on a server with 150+ avg. players
What if more than one players get a medical treatment?
While players are receiving medical treatment, they are invisible to other players.
nope not at all. You can use it to prevent fights directly after a revive. Its very helpful for soft & midcore servers to protect players from this kind of abuse
I love that its more of a hardcore RP resource! Realism should be the goal for ESX and economy based servers.
Already got all my guys hyped by just seeing the video lol.
Question i have ezzkn - can we configure multiple hospital points? For example sandy, paleto, and downtown all have areas a player can “rest” at after reviving
Unfortunatley its not for qbcore. I never used the framework. It shouldn’t be hard to change to this framework. We can provide you with full open source after you bought if you want to change it yourself.
thanks for your good feedback.
There is currently only one spot in the config.
However, you can theoretically create an infinite number of NPCs yourself that trigger the event that the player goes into treatment. The client.lua is not encrypted, so you can change just about anything.
On the server side, there is only the algorithm that saves the state of the player if he quits and joins again.
We also offer support, and will of course help you to change the script so that players can “rest” at several points and you can use it like you need it!