table.ClearKeys
From GMod Wiki
| Function | |
| Syntax |
table.ClearKeys( Table table, Boolean savekeys ) Where is this used? |
| Description: | |
| Changes a tables keys into integers. | |
| Returns: | Table |
| Part of Library: | Table |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Table.ClearKeys]Table.ClearKeys [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- if savekeys is true, a __key field will be inserted into each value, with the previous key as it's value. do not set this as true if your table has non-table/userdata values