Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "stuffcmd"
From Quake Wiki
(Created page with "====Syntax:==== <code>void stuffcmd(entity client, string s)</code> Sends text to the console as if it had been typed by the '''client''' entity. For use with player entitie...") |
(No difference)
|
Revision as of 01:28, 27 March 2013
Contents
Syntax:
void stuffcmd(entity client, string s)
Sends text to the console as if it had been typed by the client entity. For use with player entities only.
Parameters:
client
- The entity to send the console text from.s
- The text to place on the console.
Returns:
- void
Other Details:
Note that if you do not add a newline character (\n
), the text will stay on the console until a newline character is entered. In the case of commands, the commands will not be executed.