mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
tweak(esx_identity): remove security on showIdentity event
This commit is contained in:
@@ -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..")
|
||||
|
||||
Reference in New Issue
Block a user