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