point_servercommand
Jump to navigation
Jump to search
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.
Note:In
Garry's Mod , due to abuse, the point_servercommand and point_clientcommand is removed.
Workaround:Use lua_run RunConsoleCommand('command')
![]() |
---|
CPointServerCommand |
![]() |
point_servercommand
is a point 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 or console variable to change.
![](/w/images/thumb/2/2e/Confirm.png/10px-Confirm.png)
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Garry's Mod](/w/images/thumb/e/ea/Gmod_icon.png/16px-Gmod_icon.png)
![PlacementTip.png](/w/images/thumb/c/cc/PlacementTip.png/14px-PlacementTip.png)
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Command <string>
- Command to execute.
Fix:Remove the string argument manually with a text editor.