Difference between revisions of "IsCounselor"
From UODemo Wiki
(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...') |
(No difference)
|
Revision as of 12:20, 25 January 2010
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.