Garry's Mod Wiki

Revision Difference

Stack#512879

An object returned by <page>util.Stack</page>. Like a Lua table, a Stack is a container. It follows the principle of LIFO (last in, first out). The Stack works like a stack of papers: the first page you put down (push) will be the last one you remove (pop). That also means that the last page you put down, will be the first to be removed.