Difference between revisions of "IsCounselor"
From UODemo Wiki
(8000) |
(Undo revision 252 by 74.63.201.156 (Talk)) |
||
Line 1: | Line 1: | ||
− | + | 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+|UoDemo+ (Publish 12 or later)]]. | ||
+ | |||
+ | |||
+ | Internal Info: isCounselor == Player->pflags & 0x8000 | ||
+ | |||
+ | |||
+ | Return to the [[Command List]]. |
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.