mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-21 03:28:34 +00:00
add basic support for RedM (RSGCore)
This commit is contained in:
1 parent
4d8305c844
commit
2da2c56705
17 files changed
+552
-244
No files matched your search
@@ -148,6 +148,14 @@ function getPlayerInv(src)
|
||||
grabInv = xPlayer.inventory
|
||||
end
|
||||
|
||||
elseif isStarted(RSGInv) then
|
||||
foundInv = RSGInv
|
||||
if src then
|
||||
grabInv = Core.Functions.GetPlayer(src).PlayerData.items
|
||||
else
|
||||
grabInv = Core.Functions.GetPlayerData().items
|
||||
end
|
||||
|
||||
else
|
||||
print("^4ERROR^7: ^2No Inventory detected ^7- ^2Check ^3starter^1.^2lua^7")
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user