Skip to content

Commit

Permalink
Inventory Update
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed May 20, 2024
1 parent e57d55b commit 498076f
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 121 deletions.
6 changes: 3 additions & 3 deletions cl_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end
--- @return nil
function Config.OnEvidence(pos, chance)
if math.random(1, 100) > chance or QBCore.Functions.IsWearingGloves() then return end
TriggerServerEvent("evidence:server:CreateFingerDrop", pos)
TriggerServerEvent('evidence:server:CreateFingerDrop', pos)
end

--- This will be called each 10 seconds whilst drilling a safety deposit box
Expand All @@ -34,7 +34,7 @@ end
--- @param message string
--- @return nil
function Config.OnPoliceAlert(message)
TriggerServerEvent("police:server:policeAlert", message)
TriggerServerEvent('police:server:policeAlert', message)
end

--- This is called when the user is nearby an interaction that requires said items, this will trigger the box that shows what items you need
Expand All @@ -49,7 +49,7 @@ end
--- @param show boolean
--- @return nil
function Config.ShowRequiredItems(items, show)
TriggerEvent('inventory:client:requiredItems', items, show)
TriggerEvent('qb-inventory:client:requiredItems', items, show)
end

Config.MinimumPaletoPolice = 0
Expand Down
Loading

0 comments on commit 498076f

Please sign in to comment.