console command on button press?

Nixshadow

L1: Registered
Aug 6, 2009
7
1
hello, I am in need of help,
I need to know if possible, and if so how,
to create a button (I have the button set up) so when it is shot (got that too)
That it will do a console command, such as bot -class scout,
Such as that, is there any way how?
Thanks in advanced, I tried using search, and google, but got nothing too useful.
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
Create a point_servercommand and issue the input "Command" on the button press output, with the parameter of the console command you desire.

servercommand.png
 
Last edited: