More Corrections

correction in the camera spawn getting stuck for not finding the player's coordinates
This commit is contained in:
Dione Batista
2020-03-26 18:57:53 -03:00
committed by GitHub
parent 220f21db35
commit bbe14d30d3
+1 -1
View File
@@ -98,7 +98,7 @@ function DeleteCharacter(identifier, charid)
end
function GetSpawnPos(source)
local SpawnPos = MySQLAsyncExecute("SELECT `position` FROM `users` WHERE `identifier` = '"..GetRockstarID(source).."'")
local SpawnPos = MySQLAsyncExecute("SELECT `position` FROM `users` WHERE `identifier` = '"..GetIdentifierWithoutLicense(GetRockstarID(source)).."'")
return json.decode(SpawnPos[1].position)
end