Death Manager
POPULAR LINKS
{:links-list}
INSTALLATION
- Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
- Add your product key (get it here) to the
settings.inifile - Add
start BigDaddy-DeathManagerto yourserver.cfg.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly so leave the name as it is.
{:is-danger}
CONFIGURATION
| SETTING | DEFAULT | DESCRIPTION |
|---|---|---|
| [licensing] | ||
| key1 | none | This is where you put your product key |
| [settings] | ||
| DeathWait | 30 | How many seconds a dead player has to stay dead before they can revive/respawn |
| autoRespawn | false | Automatically respawn player to hospital 3 seconds after dying |
| AllowInstantRespawn | false | Whether to allow immediate revive/respawn with no wait |
| DisallowRevive | false | Whether to allow /heal command for self healing |
| AllowRagdoll | true | Turn on/off ragdoll feature |
| AllowHealing | true | Whether to allow the player to use the /heal command |
| DisableSlashCommands | false | Players can use any of the commands listed below |
| RagdollToggle | 82 | Key to toggle ragdoll if turned on above |
| showAlmostDeadEffect | true | Whether to show the visual effect when your character is almost dead |
| Framework | NONE | Valid values ESX, QBCORE, NONE (Only ESX and Stand alone (NONE) has any integration at this time) |
| stamina | 50 | how much stamina you have while running - default is 25 - higher = more stamina |
| AllowStumble | true | If a player is running and jumps, there is a chance (next setting) they can stumble |
| StumbleChance | .5 | 0 = never 1 = always, the chance a player will stumble if running and jumping |
| AllowStagger | true | If a player is shot, they can stagger. If their legs/feet/etc. are injured they can stagger while walking and running |
| debug | false | shows debug messages, only use if Big Daddy Scripts asks you to |
SOME servers experience a perpetual visual death effect. Its based on the registered max health as these vary between servers. However, it doesn't always report to our script correctly. If you experience this issue it is recommended to set
showAlmostDeadEffect=false
COMMANDS
| COMMAND | INFO |
|---|---|
| /heal | If enabled in the config, clears blood and gives you full health |
| /revive | Heal and get up where you are |
| /respawn | Respawn at hospital that is closest to you |
| /cleanblood | Tries to clean the blood off of your character |
EXPORTS
DelayedDeathToggle(bool)- Parameters: (bool) true/false - Toggles the delayed death on and off. This is for special circumstances when you want the player to stay dead until the script decides it's time for them to revive again. So you would toggle this on and then when ready for them to be able to revive, toggle it back off again and they will be able to be revived.RevivePed(int, bool)Parameters: (int) player's server id, (bool) whether they get up immediately or stay on the ground (ragdolled) - Revives the player and gives them full healthHospitalizePed(int)- Parameters: (int) player's server id - Sends the player to the nearest hospital and heals themRespawnPed(int)- Parameters: (int) player's server id - Respawns the player in a random hospital and heals themResetHealth(int)- Parameters: (int) player's server id - Resets the player's health to full