Difference between revisions of "IsEditing"

From UODemo Wiki
Jump to: navigation, search
(Created page with 'integer '''isEditing'''(object ''PlayerObject''); This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Editing Mode, otherwis...')
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Editing Mode, otherwise 1 is returned. Editing Mode can only be obtained by connecting to the demo server with a GOD client. This involves sending Packet 0x04.
 
This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Editing Mode, otherwise 1 is returned. Editing Mode can only be obtained by connecting to the demo server with a GOD client. This involves sending Packet 0x04.
 +
 +
 +
Internal Info: isEditing == Player->pflags & 0x02
 +
 +
 +
Return to the [[Command List]].

Latest revision as of 11:43, 25 January 2010

integer isEditing(object PlayerObject);

This function will return 0 if the PlayerObject is not a valid player object or if that player is not in Editing Mode, otherwise 1 is returned. Editing Mode can only be obtained by connecting to the demo server with a GOD client. This involves sending Packet 0x04.


Internal Info: isEditing == Player->pflags & 0x02


Return to the Command List.