shield[SCRIPT] BULLETPROOF VESTS

INFORMATIONS

Lightweight and secure vest system with animations, durability, server-side validation and full ESX/OX inventory support.


FEATURES

  • Secure server-side ownership checks

  • Equip/Unequip animations

  • Armor thresholds (75/50/25/0) + broken vest handling

  • Durability & metadata return

  • ESX persistence ("vests.json")

  • Optimized event-driven performance


INSTALLATION

  1. Extract downloaded file to your resources folder and change name from [fz_bulletproof_vests 1.0.0] -> [fz_bulletproof_vests]

  2. Go in config.lua and change it to your liking

  3. Go in install folder and in inv-images

  4. Copy images you like and rename them so they match with settings in config.lua (For example if item name is bpvest_3 rename image to bpvest_3.png)

  5. Go to your inventory and place your images in the folder where you have them. For example in ox_inventory/web/images

  6. Add items in your database or inventory. In ox_inventory you can find it in ox_inventory/data/items.lua. Copy items from here ⬇code below

  7. Go in server.cfg and add: ensure fz_bulletproof_vests

  8. Save everything and restart server. You are done! Enjoy :)


Last updated