[PAID] [STANDALONE] Incapacitated (Recovery)

Incapacitated (Recovery) is a highly configurable recovery resource for FiveM. It helps creating more immersive ambulance roleplay experience since players get in a state of incapacity after they have respawned, which makes them unable to combat. The player himself is also put in an injured state where an hurt animation is played while he is recovering. This feature can be disabled though. While in this state of incapacity the players screen displays an timer which tells him how long his recovery will last.

Features

  • Custom Timer HUD
  • Configurable Recovery Duration
  • Fully Customizable UI
  • Hurt Animation
  • Removal Command
  • Cross-session support

Preview Video & Images

Link: Preview
Images: Gallery

Runtime Performance

Client: ~0.00-0.05 ms (when active)

Server: ~0.00-0.00 ms (none)

Available Exports

Client

exports["incapacitated"]:removeIncapacity()

Server

exports["incapacitated"]:removeIncapacity(source)

Commands & Permissions

Commands

/capacitate <id>

Permission

command.capacitate

Dependencies?

  • FX Server 5181
  • Baseevents

Interested? Buy it from Tebex!

Tebex

Don’t forget to check out my other resources!

Other Resources

Code is accessible No
Subscription-based No
Lines (approximately) ~400
Requirements Listed above
Support Yes
2 Likes

So what happens if someone kills player who are incapacitated?

1 Like

The timer continues to count down just like before. No time reset. I chose it to behave this way to prevent rude behaviour (e.g. constantly killing a player).

UPDATE: Added config option to customize which controls should be disabled when in an incapacitated state.

UPDATE: Several bugfixes and code cleanup

UPDATE:

  • Full standalone support. No Framework required anymore.
  • Performance Optimizations
  • Code Refactoring

is there a way to deactivate incapacity in the FFA?

Server and client exports have been added to support such cases.
You can find all available exports above. Updating is required though.

hi on qbcore framework nothign happens when I press respawn. Also no errors

hi on qbcore framework nothign happens when I press respawn. Also no errors

β†’ Issue has been resolved. Please update the resource from the keymaster download.

hey this worked but I found a new problem. All my walkingstyles get canceld when I try to do them! (Im not incapacitated)

walkingstyles dont work anymore with your script though. It gets canceled when I try to use one! Any idea how to solve it? Im not incapacitated!

1 Like

I’m sorry for the inconvenience. The issue has been resolved in the latest update, which you can download from keymaster.

Hi done that but now my player doesnt get incapacitated anymore

Try again now. Unfortunately the file got corrupted while uploading to keymaster.

works now thx

1 Like

We have the problem that when people relog our RP server, this restriction is gone again.
can you do something about it?

Relogging is currently not supported, although I may look into adding it in a future update. I will let you know when development on this feature is finished.

anyone can use the command to get rid off it, also they just relog to get rid off it which makes the entire script pointless right now for me

UPDATE 1.0.7

What did change?

β†’ Simplified the permission setup for the command
β†’ Incapacitated states are now persistent between sessions and server restarts.