ox_inventory

Inventory Installation

Go to ox_inventory/client.lua

  1. Look for the following code block:

SendNUIMessage({
				action = 'setupInventory',
  1. Add the following code directly above that SendNuiMessage function

TriggerServerEvent('rep-weed:server:checkDry', left, currentInventory)
aox_inventory/client.lua

Go to \modules\inventory\server.lua

  1. Look for the following code:

  1. Paste the following code AFTER that whole function:

ox_inventory\modules\inventory\server.lua
  1. Look for the following code:

  1. Replace it with code:

  1. If you want weed to also dry in trunk, player or glove trunk, repeat the same process


For /giveitem commands

Go to /server.lua

  1. Look for the following code:

  1. Replace the whole function with this code.

ox_inventory\server.lua

Last updated