Fixed Error In Character Selection

This commit is contained in:
Niko
2022-07-23 00:06:20 -04:00
parent 579cb9af60
commit c1cc40e9d5
12 changed files with 20 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
server_config = {
discordServerToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.GU1TSC.Ed8D2_wcU-UQ1vZhe1khahgV8J3hLahOp4N1D8", -- discord bot token for permissions
-- discordServerToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.GU1TSC.Ed8D2_wcU-UQ1vZhe1khahgV8J3hLahOp4N1D8", -- discord bot token for permissions
discordServerToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.GE_e1I.pqEyV6GSfjs-0edjvvjtr8azyWDJG7hzUIPob8",
guildId = "872496972454592523", -- discord guild id
}

View File

@@ -1,8 +1,8 @@
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
author "Andyyy#7666"
author "Andyyy#7666, N1K0#0001"
description "ND Framework Core"
version "3.0.0"
version "3.0.1"
fx_version "cerulean"
game "gta5"

View File

@@ -41,6 +41,7 @@ end)
-- Getting all the characters the player has and returning them to the client.
RegisterNetEvent("ND:GetCharacters", function()
local player = source
print(NDCore.Functions.GetPlayerCharacters(player)[1])
TriggerClientEvent("ND:returnCharacters", player, NDCore.Functions.GetPlayerCharacters(player))
end)