Skip to content

Commit

Permalink
Update client.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleModifications authored Nov 28, 2022
1 parent 1b611f6 commit 4d2eef8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bridge/qb/client.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if GetResourceState('qb_core') ~= 'started' then return end
if GetResourceState('qb-core') ~= 'started' then return end

QBCore = exports.qb_core:GetCoreObject()
QBCore = exports["qb-core"]:GetCoreObject()

function ShowNotification(text)
QBCore.Functions.Notify(text)
Expand All @@ -18,4 +18,4 @@ end

RegisterNetEvent(GetCurrentResourceName()..":showNotification", function(text)
ShowNotification(text)
end)
end)

0 comments on commit 4d2eef8

Please sign in to comment.