mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 22:01:33 +00:00
Update main.lua
This commit is contained in:
@@ -173,3 +173,11 @@ 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
|
||||
Reference in New Issue
Block a user