Update main.lua

This commit is contained in:
RikoDEV
2020-02-22 15:41:58 +01:00
committed by GitHub
parent acd4e30fea
commit c22733bb4c
+1 -1
View File
@@ -18,7 +18,7 @@ local IdentifierTables = {
RegisterServerEvent("kashactersS:SetupCharacters")
AddEventHandler('kashactersS:SetupCharacters', function()
local src = source
local xPlayer = ESX.GetPlayerFromId(rc)
local xPlayer = ESX.GetPlayerFromId(src)
local LastCharId = GetLastCharacter(src)
SetIdentifierToChar(xPlayer.identifier, LastCharId)