Tutorials
I am missing sql file how to add armor column into my users table in my database ?
How to give somebody vest through export or /givevest command ?
How to undress[steal] vest from player ?
1.
How to add armor column into your users table in your database ?
2.
How to create new vests ?
! Some Inventories can only have one 'item' and are not able to change 'image' and 'weight' !
Create new vest in config.lua: - If you dont want to create a new vest type you can take an example from bulletproofvest and add a new vest to an already existing type.
Create a new item with your vests name in your inventory: - In this example it will be example_vest_type. - Look into Installtion Guide if you need help with creating items for your inventory.
Give yourself the vest:
Enjoy!
3.
How to add vests into shops ?
ox_inventory/data/shops.lua
4.
Give somebody vest item:
Command:
Export:
5.
Remove player vest:
6.
Steal player vest:
7.
How to create a armor box ?
Create new item in your inventory: - In this example it will be example_armorbox. - Look into Installtion Guide if you need help with creating items for your inventory.
Make the item usable:
Add the following into:
ox_inventory/modules/items/client.lua
- If you need any help with GiveVest export check this.
Enjoy!
Additional info:
If you need help with anything, do not hesitate and open a support ticket in our discord.
Last updated