mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 23:01:30 +00:00
⚠️⚠️BREAKING COMMIT⚠️⚠️: mapmanager & spawnmanager ditch
Make sure you remove or disable mapmanager and spawnmanager
This commit is contained in:
+5
-3
@@ -1,6 +1,8 @@
|
||||
RegisterNetEvent('esx:playerJoined')
|
||||
AddEventHandler('esx:playerJoined', function()
|
||||
onPlayerJoined(source)
|
||||
RegisterNetEvent('esx:onPlayerJoined')
|
||||
AddEventHandler('esx:onPlayerJoined', function()
|
||||
if not ESX.Players[source] then
|
||||
onPlayerJoined(source)
|
||||
end
|
||||
end)
|
||||
|
||||
function onPlayerJoined(playerId)
|
||||
|
||||
Reference in New Issue
Block a user