Point servercommand: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Confirm:Any ConCommands/ConVars that aren't cheat flagged or hidden can be used.
 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
Note:Due to a high risk of abuse, it is gated by the sv_allow_point_servercommand console variable. (only in  )
)
		
	
|  (-cleanup) | mNo edit summary | ||
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| {{CD|CPointServerCommand|file1=client.cpp}} | {{CD|CPointServerCommand|file1=client.cpp}} | ||
| {{base point|point_servercommand}} 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 | {{base point|point_servercommand}} 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 <var>sv_allow_point_servercommand</var> console variable. {{tf2|only}}}} | {{note|Due to a high risk of abuse, it is gated by the <var>sv_allow_point_servercommand</var> console variable. {{tf2|only}}}} | ||
Revision as of 12:11, 22 November 2022
|  Class hierarchy | 
|---|
| CPointServerCommand | 
|  client.cpp | 
Template:Base point 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.
 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
Note:Due to a high risk of abuse, it is gated by the sv_allow_point_servercommand console variable. (only in  )
)Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 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. Fix:Remove the string argument manually with a text editor.
ConVars
