diff --git a/ND_Core/client/main.lua b/client/main.lua similarity index 80% rename from ND_Core/client/main.lua rename to client/main.lua index 7dbade2..51ac547 100644 --- a/ND_Core/client/main.lua +++ b/client/main.lua @@ -58,31 +58,6 @@ if config.customPauseMenu then end) end -RegisterNetEvent("ND:returnCharacters", function(characters) - NDCore.Characters = characters -end) - --- updates the money on the client. -RegisterNetEvent("ND:updateMoney", function(cash, bank) - NDCore.SelectedCharacter.cash = cash - NDCore.SelectedCharacter.bank = bank -end) - --- Sets main character. -RegisterNetEvent("ND:setCharacter", function(character) - NDCore.SelectedCharacter = character -end) - --- Update main character info. -RegisterNetEvent("ND:updateCharacter", function(character) - NDCore.SelectedCharacter = character -end) - --- Updates last lcoation. -RegisterNetEvent("ND:updateLastLocation", function(location) - NDCore.SelectedCharacter.lastLocation = location -end) - -- Enables pvp if it's selected in the config. AddEventHandler("playerSpawned", function() if config.enablePVP then