Difference between revisions of "IsEditing"

From UODemo Wiki
Jump to: navigation, search
 
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]].
 
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.