Garry's Mod Wiki

Revision Difference

Structures/Undo#517093

<cat>struct</cat> <structure> <description>Table structure used by <page>undo.Do_Undo</page>.</description> <fields> <item name="Owner" type="Player">The player responsible who owns the undo</item> <item name="Name" type="string">The name of the text to report to the player</item> <item name="Entities" type="table">A table of entities to be removed by the undo</item> {{StructureField|table|Functions|A table of {function_to_call, func_arg2, func_arg3}<item name="Functions" type="table">A table of {function_to_call, func_arg2, func_arg3}</item>⤶ <item name="CustomUndoText" type="string">A custom undo text to show the client</item>⤶ </fields> </structure> ⤶ <item name="CustomUndoText" type="string">A custom undo text to show the client</item>⤶ ⤶ }}