Difference between revisions of "IsGameMaster"

From UODemo Wiki
Jump to: navigation, search
(Created page with 'integer '''isGameMaster'''(object ''PlayerObject''); This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Game Master Mode, o...')
 
(No difference)

Latest revision as of 12:22, 25 January 2010

integer isGameMaster(object PlayerObject);

This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Game Master Mode, otherwise 1 is returned. Code to become a Game Master is available in the demo core but so far no effort has been done to re-enable this code.


Internal Info: isGameMaster == Player->pflags & 0x1000


Return to the Command List.