mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +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
|
end
|
||||||
|
|
||||||
function GetSpawnPos(source)
|
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)
|
return json.decode(SpawnPos[1].position)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user