point_servercommand
class hierarchy |
---|
CPointServerCommand defined in client.cpp
|
point_servercommand
is a point entity available in all Source games. It issues commands to the server console. It's used by simply placing it in a map and triggering the Command input, the parameter override should be the exact console command to run.
Confirm:Any ConCommands/ConVars that aren't cheat flagged or hidden can be used.
Note:Due to a high risk of abuse, it is gated by the sv_allow_point_servercommand console variable. (only in )
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Inputs
Command
<string>- Command to execute.Bug:In Hammer, using " symbol in parameter field will corrupt the VMF file's structure, making the file unviewable for the next Hammer session.
- Fix: Remove the string argument manually with a text editor.
ConVars