Garry's Mod Wiki
Example
Changes all the table's keys to integer values
Output: 1 = A
2 = C
3 = B
Example
Clears a table of its keys, and preserves the old key names within each member.
Output: ===== Before =====
FirstMember:
Name = John Smith
Age = 25
SecondMember:
Name = Jane Doe
Age = 42
ThirdMember:
Name = Joe Bloggs
Age = 39
===== After =====
1:
Age = 25
Name = John Smith
__key = FirstMember
2:
Age = 39
Name = Joe Bloggs
__key = ThirdMember
3:
Age = 42
Name = Jane Doe
__key = SecondMember
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...