From 577623f4e60bfcc4a514c3d0a435ae399349c772 Mon Sep 17 00:00:00 2001 From: tom-osborne Date: Tue, 26 Sep 2023 20:20:01 +0100 Subject: [PATCH 1/3] chore: Update global for qbox core changes --- .luacheckrc.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.luacheckrc.template b/.luacheckrc.template index 9faefec..f22fad5 100644 --- a/.luacheckrc.template +++ b/.luacheckrc.template @@ -141,7 +141,7 @@ stds.esx = { stds.qbox = { read_globals = { - "QBCore" + "QBX" } } From c06c7ef000a195401ea29ebe707f5e80684de7fa Mon Sep 17 00:00:00 2001 From: tom-osborne Date: Tue, 26 Sep 2023 20:20:46 +0100 Subject: [PATCH 2/3] chore: Update globals for qbox core updates --- .luacheckrc.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.luacheckrc.template b/.luacheckrc.template index f22fad5..a530745 100644 --- a/.luacheckrc.template +++ b/.luacheckrc.template @@ -147,7 +147,7 @@ stds.qbox = { stds.qbox_playerdata = { read_globals = { - "QBCore", + "QBX", "PlayerData", "OnPlayerData" } From ede07645e1fc24f0a0f51cdb4380a0490b144b37 Mon Sep 17 00:00:00 2001 From: Stan <96954031+tom-osborne@users.noreply.github.com> Date: Wed, 27 Sep 2023 10:01:57 +0100 Subject: [PATCH 3/3] Add QBCore global back --- .luacheckrc.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.luacheckrc.template b/.luacheckrc.template index a530745..d087ab5 100644 --- a/.luacheckrc.template +++ b/.luacheckrc.template @@ -141,12 +141,14 @@ stds.esx = { stds.qbox = { read_globals = { + "QBCore", "QBX" } } stds.qbox_playerdata = { read_globals = { + "QBCore", "QBX", "PlayerData", "OnPlayerData"