getSource
Gets the source of a player from their identifier
Returns the source ID for the given citizen identifier.
Parameters:
identifier
(string): Citizen ID
Returns:
number|nil
: Player source or nil if not online
Example:
local source = ps.getSource('ABC12345')
if source then
print("Player is online with source:", source)
end
Last updated