mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 04:01:22 +00:00
More Corrections
correction in the camera spawn getting stuck for not finding the player's coordinates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user