Garry's Mod Wiki

GM:PostUndo

  GM:PostUndo( table undo, number count )

Description

Called just after performing an undo.

Arguments

1 table undo
The undo table. See Undo struct.
2 number count
The amount of props/actions undone. This will be 0 for undos that are skipped in cases where for example the entity that is meant to be undone is already deleted.