This commit is contained in:
Jim Shield
2025-03-08 20:55:05 +00:00
committed by GitHub
parent 6bfb549fd0
commit 83ba74bc12
6 changed files with 21 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ function GetPlayer(source)
return exports[QBXExport]:GetCoreObject().Functions.GetPlayer(source)
elseif isStarted(ESXExport) then
debugPrint("^6Bridge^7: ^3GetPlayer^7() ESXExport")
return exports[ESXExport]:GetPlayerFromId(source)
return ESX.GetPlayerFromId(source)
elseif isStarted(OXCoreExport) then
debugPrint("^6Bridge^7: ^3GetPlayer^7() OXCoreExport")
return exports[OXCoreExport]:GetPlayer(source)