fix get license

This commit is contained in:
Henric Backman
2020-05-08 23:56:32 +02:00
parent fe4c1bca41
commit 7ae50e5149
+1 -1
View File
@@ -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