From 12bdb769d635f1aea9bd042d5eb1b41305c4fe14 Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sun, 9 Jul 2023 18:28:19 +0200 Subject: [PATCH] :wrench: fix(esx_identit/client) registerNuiCallback cb --- [core]/esx_identity/client/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/[core]/esx_identity/client/main.lua b/[core]/esx_identity/client/main.lua index 94ad6878..59b516e4 100644 --- a/[core]/esx_identity/client/main.lua +++ b/[core]/esx_identity/client/main.lua @@ -51,7 +51,7 @@ if not Config.UseDeferrals then if not ESX.PlayerData.dead then setGuiState(true) end end) - RegisterNUICallback('register', function(data) + RegisterNUICallback('register', function(data,cb) if not guiEnabled then return end @@ -68,5 +68,6 @@ if not Config.UseDeferrals then TriggerEvent('esx_skin:playerRegistered') end end, data) + cb(1) end) end