fix(es_extended/imports): use RegisterNetEvent for esx:playerLoaded

This commit is contained in:
Ilias Rbayti
2024-11-17 22:49:25 +01:00
parent 6aa49369a1
commit 37aaae6296
+1 -1
View File
@@ -12,7 +12,7 @@ if not IsDuplicityVersion() then -- Only register this event for the client
end
end)
ESX.SecureNetEvent("esx:playerLoaded", function(xPlayer)
RegisterNetEvent("esx:playerLoaded", function(xPlayer)
ESX.PlayerData = xPlayer
ESX.PlayerLoaded = true
end)