Merge pull request #1208 from Cocodrulo/feature/get-shared-item

Feature/get shared item
This commit is contained in:
Joel
2026-01-10 23:13:56 +00:00
committed by GitHub
+10
View File
@@ -173,3 +173,13 @@ QBShared.FemaleNoGloves = {
[161] = true,
[165] = true
}
--- Get a shared item from a shared field
--- @param namespace 'Vehicles' | 'VehicleHashes' | 'Items' | 'Gangs' | 'Jobs' | 'Locations' | 'Weapons'
--- @param item string
--- @return table
function GetShared(namespace, item)
return QBCore.Shared[namespace]?[item]
end
exports('GetShared', GetShared)