GetPlayerInventory client side, event fires client now
community_bridge:client:inventory:updateInventory
This commit is contained in:
1 parent
651c8ae6df
commit
2a326c4811
14 files changed
+110
-3
No files matched your search
@@ -23,4 +23,8 @@ Inventory.GetImagePath = function(item)
|
||||
return imagePath or "https://avatars.githubusercontent.com/u/47620135"
|
||||
end
|
||||
|
||||
Inventory.GetPlayerInventory = function()
|
||||
return exports.ox_inventory:GetPlayerItems()
|
||||
end
|
||||
|
||||
--Bridge.RegisterModule("Inventory", Inventory)
|
||||
Reference in new issue
Block a user