From bbe14d30d3b0697f97a70a5e10fcd7f457fac2db Mon Sep 17 00:00:00 2001 From: Dione Batista Date: Thu, 26 Mar 2020 18:57:53 -0300 Subject: [PATCH] More Corrections correction in the camera spawn getting stuck for not finding the player's coordinates --- 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 0e2232f0..ba24a18b 100644 --- a/esx_kashacters/server/main.lua +++ b/esx_kashacters/server/main.lua @@ -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