[ESX] esx_tk_bulleteffects - Bullet Effects

esx_tk_bulleteffects

About

This scripts adds a new level of realism to your shooting; bullets have certain effects depending on the body part they hit and bullets can be searched for and removed from a player. Script has been tested with ESX V1 Final, but should work with all ESX versions. If not, you can always contact me!

Features

  • Well-optimized
    • 0.00 ms | Idle
    • 0.02 ms - 0.10 ms | In usage
  • Uses FiveM Asset Escrow system, but if there is anything you would like to get changed or added to the editable file, contact me and I can probably change it!
  • Highly customizable
    • Change chances to fall down or stumble
    • Change chances depending on the caliber of the weapon
    • Change how long many bullets needed to prevent jumping, shooting etc.
    • Change how much the bullets slow you down and increase your recoil
    • & much more
  • Exports
    • exports.esx_tk_bulleteffects:removeBulletsMenu() - Opens the menu where you can remove bullets from other players
  • How does it work? (watch video above for a good understanding)
    • Commands
      • /bullets - Shows bullets in your own body parts
      • /showbullets - Shows bullets in the closest player’s body parts
      • /removebullets - Opens the menu where you can remove bullets from other players
      • /healbullets [id] - Command for admins to remove all bullets from a player
    • Shooting at other players will leave bullets in them
    • You can see how many bullets you have in your head, body, left arm, right arm, left leg and right leg
    • Bullets can be removed by EMS (or any other job that is specified in the config)
    • Effects:
      • Legs:
        • Your character will sometimes randomly fall
        • Having enough bullets will prevent you from jumping
        • Bullets will slow you down
      • Body:
        • Your character will sometimes “stumble”
      • Arms:
        • Bullets in arms will increase your recoil
        • Having enough bullets in your right arm will prevent you from shooting
      • Head:
        • Your screen will shake
Screenshots

1

2

Config

Requirements

Purchase (11.99€ + VAT)


My other work

Code is accessible No
Subscription-based No
Lines (approximately) ~600
Requirements es_extended, esx_menu_default, mysql-async or oxmysql, mythic_progbar
Support Yes
3 Likes

Any chance of this turns the bullets into an item that could compliment your evidence script?

1 Like

Great idea. I’ll definitely think about it and write it down in my todo list.

Update 1.0.2

  • New config option Config.AllowedGroups, groups that can run admin commands
  • New config option Config.EMSCanHealBullets, should EMS be able to use the /healbullets command

Update 1.0.5

  • New config option Config.ReviveEvent
  • New config option Config.ReviveRemoveBullets
  • Walking style should now be automatically reset after bullets are removed from your legs

Update 1.0.7

  • Small changes to how bullets are being detected

Update 1.0.8

  • New config option Config.MinMoveRate
  • Added notification when bullets have been removed

Update 1.1.0

  • Added a new config option Config.HeadShakeTime
  • Improved how bullets are registered