onInventoryOpen
Triggered when player opens his inventory.
RegisterNetEvent("avp_grid_inventory:onInventoryOpen", function()
local playerId = source
local weight = exports["avp_grid_inventory"]:GetWeight(playerId)
end)
Triggered when player opens his inventory.
RegisterNetEvent("avp_grid_inventory:onInventoryOpen", function()
local playerId = source
local weight = exports["avp_grid_inventory"]:GetWeight(playerId)
end)