IsCounselor

From UODemo Wiki
Revision as of 12:20, 25 January 2010 by Batlin (talk | contribs) (Created page with 'integer '''isCounselor'''(object ''PlayerObject''); This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Counselor Mode, othe...')

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

integer isCounselor(object PlayerObject);

This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Counselor Mode, otherwise 1 is returned. Counselor Mode can only be obtained by using a patch: UoDemo+ (Publish 12 or later).


Internal Info: isCounselor == Player->pflags & 0x8000


Return to the Command List.