Garry's Mod Wiki

GM:PostUndo

GM:PostUndo( table undo, number count )

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

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.

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 8