...
From GMod Wiki
| Description | Varargs represent multiple variables. |
|---|---|
| Used on | |
| Code | function varargtest(...) return {...} end |
| Output | Returns all variables that have been passed to the function in a table. |
| Description | Turn a table into an vararg. |
|---|---|
| Used on | |
| Code | local tbl = {"a","b","c","d"}; print(unpack(tbl)); print(tbl); |
| Output | Unpacked table will be printed as every single value. |