⚠️⚠️BREAKING COMMIT⚠️⚠️: mapmanager & spawnmanager ditch

Make sure you remove or disable mapmanager and spawnmanager
This commit is contained in:
ElPumpo
2020-03-23 13:58:41 +01:00
parent 0fc8c4d9c5
commit 8a586e433c
2 changed files with 55 additions and 35 deletions
+5 -3
View File
@@ -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)