G.select
From GMod Wiki
Function | |
Syntax |
select( Integer I , ... arguments ) Where is this used? |
Description: | |
Selects specific arguments from a vararg. | |
Returns: | All arguments given with an index after the value of 'I'. |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.select]G.select [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- If 'I' is a number, then select returns all arguments after argument number 'I'. Otherwise, 'I' must be the string "#", and select returns the total number of extra arguments it received.