IsOnline

From UODemo Wiki
Revision as of 11:41, 25 January 2010 by Batlin (talk | contribs) (Created page with 'integer '''isOnline'''(object ''PlayerObject''); This function will return 1 if the given object is a valid player object and if that player is online. Otherwise 0 is returned. ...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

integer isOnline(object PlayerObject);

This function will return 1 if the given object is a valid player object and if that player is online. Otherwise 0 is returned. Because a player object is required, passing any other object like NPC's will result in a return value of 0.


Internal Info: isOnline == Player->pflags & 0x04


Return to the Command List.