Exists in global namespace.
| Declaration | Description |
|---|---|
| int GetCount() | Returns amount of arguments, returns 0 if no arguments were given |
| bool GetBool(int index) | Returns bool from index, first argument is index 0 |
| int GetInt(int index) | Returns int from index, first argument is index 0 |
| float GetFloat(int index) | Returns float from index, first argument is index 0 |
| string GetString(int index) | Returns string from index, first argument is index 0 |
| string GetVector(int index) | Returns vector from index, first argument is index 0 |
| Declaration | Description |
|---|---|
| string FixedNick | Returns "Server" or string(AFArgs.User.pev.netname) |
| bool IsServer | Returns true if command was executed from (svends) server console |
| bool IsChat | Returns true if command was executed from chat |
| array |
Returns raw Arguments, it is unlikely you will ever need this |
| CBasePlayer@ User | Returns player executing the command |
| ClientSayType SayType | Returns SayType when executed from chat |
| dictionary Args | Returns parsed arguments in dictionary, unlike you will need this |