SLRP Body Damage Display
Welcome to the Body Damage Display script for FiveM! This script enhances player immersion by showing detailed damage and bleeding effects on their character’s body. Below you’ll find everything you need to set up and use this script effectively.
Installation
-
Download: download this script.
-
Extract: Unzip the files into your FiveM resources folder.
-
Start Resource: Add
start bodydamageto yourserver.cfg. -
Enjoy: Restart your server to load the script.
Configuration
config.lua
Here’s a brief overview of the configurable options available:
-
Config.MaxHealth = 200: Maximum health for players. -
Config.DamageCheckInterval = 100: Interval in milliseconds for checking health status. -
Config.ScaleformMovie = "mp_big_message_freemode": Scaleform movie used for the death message. -
Config.ScaleformText = "~r~WASTED": Text displayed on death. -
Config.BleedingEffectInterval = 7000: Interval for bleeding effects in milliseconds. -
Config.LowHealthThreshold = 155: Health threshold to trigger low health notifications. -
Config.NotificationText = 'You feel unwell, go to a doctor as soon as possible!': Notification message for low health. -
Config.NotificationDuration = 5000: Duration for notification display. -
Config.NotificationType = 'error': Type of notification. -
Config.EnableToggleCommand = "bodydamage": Command to toggle the damage display.
html/index.html
-
Health: Displays the player’s health.
-
Body Parts: Shows different body parts that can be damaged.
Usage
Commands
-
Toggle Damage Display: Use
/bodydamagein the chat to toggle the damage display. -
Toggle Draggable Mode: Enable or disable draggable mode to reposition the damage display elements.
Features
-
Dynamic Health Monitoring: Continuously checks and updates the player’s health.
-
Scaleform Messages: Displays immersive messages on critical health events.
-
Blood Effects: Realistic bleeding effects based on player health.
-
Draggable UI: Customize the position of your damage display elements.
Development
Author: ⸸♱:heart: 𝓜𝓻.𝓢𝓜𝓤𝓡𝓕
♱⸸
Tebex: SLRP Body Damage Display (tebex.io) ![]()
Happy gaming! ![]()
![]()
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 500+ |
| Requirements | Standalone |
| Support | Yes |
