point_clientcommand
Jump to navigation
Jump to search
Code classes:
CPointClientCommand
CPointEntity
CBaseEntity
(all ents)
point_clientcommand
is a point entity present in all Source games. It executes a console command as if it were typed in from a certain player's console. (As opposed to the server's own console.)
Warning: As with most other text fields in Hammer, using quote marks on this entity will cause a minor corruption of the VMF, because the file format relies on quote marks as syntax. If you accidentally do this, open the VMF in a text editor and delete the extra quote marks.
Inputs[edit | edit source]
- Command
<string>
- Executes the string in the parameter. In multiplayer, the player to affect has to be the activator.