Script console command manager.
Type: Reference type
| Declaration | Description |
|---|---|
| CBasePlayer@ GetCurrentPlayer() const | If the current command was executed by a player, this returns that player. |
| void ServerCommand(const string& in szCommand) | Executes an Angelscript server command. |