Explanation:
This script shows the player the damage he has suffered, what was the type of damage, if he was injured, shot, cuts and punches.
Quite useful in Roleplay Servers, it is good for developing a medical RP, it indicates where and what the injuries were and the cause of death.
Type of injuries
Characteristics:
- Indicates various injuries (Bruises, Shots, Cuts and Punches).
- Indicates cause of death.
- Graphical interface
- The graphical interface information resets as soon as the playerâs maximum life is restored.
- You can check your injuries, and that of the player next to you, using the command /health e /diagnosis
- To close the graphical interface, just type the command again or press ESC or BACKSPACE.
Examples the various injuries.
Video:
Resmon : In the tests, the MS was 0.02ms, sometimes it oscillated up to 0.03ms MAX .
How to configure
- Just put it in your resources folder, add it to your server.cfg (start mx_bodydamages) and start the server
- In the client / configurate.lua file, you can translate any text that the graphical interface has in any way you want.
- In the same file, you can change the scale, position and commands of the graphical interface, and adjust it as you wish.
Update 1.0
Those who have already purchased can download directly from the download link
- Fixed an error with the interface scale.
- Fixed an error with the detection of damage to the playerâs body, some strange things were happening, now it should work as it should.
- Improved script MS, now stands at 0.01ms most of the time.
- Added in configurate.lua the option to open the graphical interface automatically when dying. Disabled by default.
- Added in configurate.lua the option to open the graphical interface pro killer, for example, you killed a player, show on your screen, the injuries you caused to the other player. Disabled by default. (Using on zombie server).
Attention: Remember to configure the maximum life of the player in the file configurate.lua, by default comes 200 life.
Update 1.1
Those who have already purchased can download directly from the download link
- Correction of download directories
Update 1.2
Those who have already purchased can download directly from the download link
Removed: MIN_HEALTH
Changed: The interface information will only be reset when the player regains his whole life, that is, when he reaches MAX_HEALTH
Added: Button to close the graphical interface, just press the right mouse button. You can disable this option in configurate.lua (Default: Disabled)
Extra information
-
For VRP/VRPEX users it is necessary to make a small change to survival.lua (vrp/client/survival.lua) locate âNetworkResurrectLocalPlayerâ and
Change âCitizen.Wait (1)â to âCitizen.Wait (500)â. This change is necessary due to the speed of execution, it will cause conflict when detecting death.
Attention when making this change, depending on your version, it may harm something else, attention. -
At PlumeESX it works normally so far.
Thanks for the feedback.
Dependencies
- None.
This script has no IP protection or encryption.
Buy and download here: https://mxlol-shop.tebex.io/package/4398590
See our other scripts:
Mx Show Damage (new)
Mx Crafting V2 (new)
Mx Custom Car V2 (new update)
Body Damages V2 (new update)
Tattoos Shop and Degrade Hair
Mx Custom Car
Mx Keycodes
Mx Crafting
Fix Wiring [FREE]
Lockpick minigame [FREE]