From 4d2eef8c3733223aa49c17b64b43a28d5a37d344 Mon Sep 17 00:00:00 2001 From: Pickle <111543470+PickleModifications@users.noreply.github.com> Date: Sun, 27 Nov 2022 22:32:24 -0500 Subject: [PATCH] Update client.lua --- bridge/qb/client.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge/qb/client.lua b/bridge/qb/client.lua index 6b22ede..8405601 100644 --- a/bridge/qb/client.lua +++ b/bridge/qb/client.lua @@ -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) @@ -18,4 +18,4 @@ end RegisterNetEvent(GetCurrentResourceName()..":showNotification", function(text) ShowNotification(text) -end) \ No newline at end of file +end)