getOfflinePlayer
Returns the offline player object for the given citizen ID.
Parameters:
identifier
(string): Citizen ID
Returns:
table|nil
: QBCore offline player object or nil if not found
Example:
local offlinePlayer = ps.getOfflinePlayer('ABC12345')
if offlinePlayer then
print("Offline player found")
end
Last updated