Garry's Mod Wiki

Revision Difference

Structures/Undo#516971

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