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...') |
(Undo revision 252 by 74.63.201.156 (Talk)) |
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 18:06, 3 March 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.