Last updated 22 days ago
Checks if a player with the given identifier is online.
Parameters:
identifier (string): Citizen ID
identifier
Returns:
boolean: True if online
boolean
if ps.isOnline(citizenId) then print('They are online') end