đź“‹ SLRP Body Damage Display

A script by SYNERGY-RP

No reviews yet.
đź“‹ SLRP Body Damage Display main image

Full Description

:clipboard: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.

:package: Installation

  1. Download: download this script.

  2. Extract: Unzip the files into your FiveM resources folder.

  3. Start Resource: Add start bodydamage to your server.cfg.

  4. Enjoy: Restart your server to load the script.

:gear: 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.

:desktop_computer: Usage

Commands

  • Toggle Damage Display: Use /bodydamage in the chat to toggle the damage display.

  • Toggle Draggable Mode: Enable or disable draggable mode to reposition the damage display elements.

:rocket: 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.

:hammer_and_wrench: Development

Author: ⸸♱:heart: 𝓜𝓻.𝓢𝓜𝓤𝓡𝓕 :heart:♱⸸
Tebex: SLRP Body Damage Display (tebex.io) :tada:

Happy gaming! :video_game::drop_of_blood:

Code is accessible No
Subscription-based No
Lines (approximately) 500+
Requirements Standalone
Support Yes