tweak(esx_identity): remove security on showIdentity event

This commit is contained in:
Kasey FItton
2024-11-08 22:42:03 +00:00
parent 5133a5049d
commit ba992442fe
+1 -1
View File
@@ -43,7 +43,7 @@ function setGuiState(state)
SendNUIMessage({ type = "enableui", enable = state })
end
ESX.SecureNetEvent("esx_identity:showRegisterIdentity", function()
RegisterNetEvent("esx_identity:showRegisterIdentity", function()
TriggerEvent("esx_skin:resetFirstSpawn")
while not (ready and loadingScreenFinished) do
print("Waiting for esx_identity NUI..")