Skip to content

Commit

Permalink
fix(bridge): statebag spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Dec 1, 2024
1 parent 853b61c commit c77e334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridge/qb/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ local function giveKeys(source, plate)
if GiveKeys(source, vehicles[i], true) then
success = true
end
Wait(20)
end
if success then
exports.qbx_core:Notify(source, locale('notify.keys_taken'))
Expand All @@ -23,6 +24,7 @@ local function removeKeys(source, plate)
if RemoveKeys(source, vehicles[i], true) then
success = true
end
Wait(20)
end
if success then
exports.qbx_core:Notify(source, locale('notify.keys_removed'))
Expand Down

0 comments on commit c77e334

Please sign in to comment.