rytrak.fr Documentation
  • 🛡️FiveM Assets Escrow
    • You lack the required entitlement
    • Failed to verify protected resource
    • Error parsing script / Failed to load script
  • ❓Store FAQ
    • Do you accept orders to create a custom script
    • Do you give decrypted scripts
    • What payment methods are accepted for the purchase of your scripts?
    • Do you offer discounts or special offers on your scripts?
    • Can I modify or customize your scripts to meet my needs
    • Are your scripts compatible with frameworks
    • Do you provide development assistance?
  • FiveM Scripts
    • 🚒Firefighter SCBA System
      • General Configuration
      • Adapt your EUP
      • General Exports
      • General Events
      • ❓FAQ
        • No such export IsFireNearby in resource SmartFires
      • Test it now
    • 👮‍♂️Advanced Police Grab Ped
      • General Configuration
      • General Exports
      • General Events
      • Compatibility with esx_policejob
      • Test it now
    • 🚿Advanced Pepper Spray
      • General Configuration
      • General Exports
      • Anticheat
      • Test it now
    • 📣Advanced Megaphone System
      • General Configuration
      • General Exports
      • Compatibility with pma-voice
      • Compatibility with mumble-voip
      • Compatibility with saltychat
      • ❓FAQ
        • I can't hear my voice through the megaphone
      • Test it now
    • 🚁Advanced Helicopter Bucket
      • General Configuration
      • Adapt our script with ToxicFire
      • General Exports
      • 🔐Test it now
    • 🔗Advanced Remote Restraint
      • General Configuration
      • General Exports
      • Test it now
    • 🚗Advanced Extrication System
      • General Configuration
      • General Exports
      • Adapt a vehicle to the roof system
      • List of vehicles compatible with the roof system
      • 🔐Test it now
    • 🔗Advanced Handcuffs System
      • General Configuration
      • General Exports
      • Make ESX compatible
      • Make QBCore compatible
      • Make OX-Inventory compatible
      • 🔐Test it now
    • ✈️Advanced Aerial Firefighting
      • General Configuration
      • Adapt our script with ToxicFire
      • General Exports
      • 🔐Test it now
    • 💣Advanced Tactical Gas System
      • General Configuration
      • Test it now
  • RedM Scripts
    • 🤠Advanced Sheriff Grab Ped
      • General Configuration
      • General Exports
  • Framework compatibility
    • Add a custom weapon on ESX
    • Add a custom weapon on QBCore
    • Add a custom weapon on OX Inventory
  • 🚀Test our resources for free with Zap-Hosting
Powered by GitBook
On this page
  1. FiveM Scripts
  2. Advanced Handcuffs System

Make OX-Inventory compatible

PreviousMake QBCore compatibleNextTest it now

Last updated 7 months ago

  1. Activate OX-Inventory in the r_handcuffs script config

  1. Add the following lines to your ox_inventory/data/items.lua file at the very bottom

["grinder"] = {
	label = "Grinder",
	weight = 1,
	stack = true,
	close = true,
	consume = 0,
	server = {
		export = 'r_handcuffs.grinder'
	}
},

["handcuffs"] = {
	label = "Handcuffs",
	weight = 1,
	stack = true,
	close = true,
	consume = 0,
	server = {
		export = 'r_handcuffs.handcuffs'
	}
},

["handcuff_keys"] = {
	label = "Handcuff keys",
	weight = 1,
	stack = true,
	close = true,
	consume = 0,
	server = {
		export = 'r_handcuffs.handcuff_keys'
	}
},

["rope"] = {
	label = "Rope",
	weight = 1,
	stack = true,
	close = true,
	consume = 0,
	server = {
		export = 'r_handcuffs.rope'
	}
},

["knife"] = {
	label = "Knife",
	weight = 1,
	stack = true,
	close = true,
	consume = 0,
	server = {
		export = 'r_handcuffs.knife'
	}
},

If you change the name of the r_handcuffs script, don't forget to change the export names above!

  1. And finally, add the images of the items to your inventory (in my case it will be ox-inventory)

The images are located in the r_handcuffs script folder.

For all inventories, the addition of images is more or less identical.

For ox_inventory the directory is: /ox_inventory/web/images/

  1. Restart your server and take advantage of the items using /giveitem me <handcuffs / handcuff_keys / grinder / rope / knife>

🔗