From 7ae50e5149dfc801c0ab4d29201cd769c79e9b69 Mon Sep 17 00:00:00 2001 From: Henric Backman Date: Fri, 8 May 2020 23:56:32 +0200 Subject: [PATCH] fix get license --- esx_kashacters/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esx_kashacters/server/main.lua b/esx_kashacters/server/main.lua index 1aa7a358..b5797834 100644 --- a/esx_kashacters/server/main.lua +++ b/esx_kashacters/server/main.lua @@ -60,7 +60,7 @@ AddEventHandler('kashactersS:CharacterChosen', function(charid, ischar) local spawn = {} if type(charid) == "number" and type(ischar) == "boolean" then SetLastCharacter(src, tonumber(charid)) - SetCharToIdentifier(GetRockstarID(src), tonumber(charid)) + SetCharToIdentifier(GetIdentifierWithoutLicense(GetPlayerIdentifiers(source)[2]), tonumber(charid)) if ischar == "true" then new = false