BSC-DeathTimeout


BSC-DeathTimeout
Introducing DeathTimeout - the free FiveM script that adds a realistic hurt system. Players are presented with title & text and remain hurt for a set time before being revived. Optional special effects & “adminclear” command available. Download now to elevate your gameplay.

Features:

  • Standalone
  • Setable Title and Texts
  • Configurable Hurt Time
  • Configurable Revive Event
  • Configurable effects
  • Admin command to reset a player
  • Absolutely a free release
  • Configurable Heartbeat sound ( read JS and mp3 )

Config Preview:

– Set up a table to store the configuration options
Config = {}

– Title displayed when player is hurt
Config.Title = “You’re hurt”

– Text displayed when player is hurt
Config.Text = “You’re currently hurt. Please wait for a medic or search for help.”

– Time in seconds for which the player will be hurt
Config.Time = 25

– Event to trigger the DeathTimeout. Add your revive event here.
Config.revive = “esx_ambulancejob:revive”

– Enable/disable special screen effects when player is hurt
Config.EnableEffects = true

– Effect to be applied when player is hurt. Full list of effects can be found here: All gta v screen effects
Config.Effect = “DeathFailMPIn”

– Use your defined Command in Config.ResetCommand + ID (example: /adminclear ). If you dont speficy an id you will clear youself. This only works for admins to reset their players or themselves.
Config.ResetCommand = “adminclear”

– btw Read JS to deactivate heartbeat sounds

PREVIEW :

Download now [Github]

Code is accessible Yes
Subscription-based No
Lines (approximately) 100 ( lua )
Requirements none
Support Yes
9 Likes

Will be adding a database request so people cant disconnect!

1 Like

Looks very good and as always a 1 A product

1 Like

nice <3

1 Like

Thanks <3

Thank you!

That’s nice, send here a message when you will make your update.

You cant use weapons while hurt. To enable it change or remove playerfiring

Its opensource, you can add it sure

Cool script everything works for me except the command: adminclear, what can be the reason? Mistake:
Access denied for adminclear command

It literally tells you , youre not having the access to that command.

Yes but why i am admin and owner of the server ?!

You need to set it in the server.cfg that youre an admin.

can you tell me what exactly I have to write in the Server.cfg? that does not work for me.

Could you show me a picture of it not working?
Sincerely bsc

What would I put in Config.revive if im not using esx (or any other framework)?

How is your game running without a core?

Im just using the minimum cfx preset without any framework. (I’m just running FivePD) But I rewrote the plugin a bit so it works now :wink:

Neat!