Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "KRIMZON SV PARSECLIENTCOMMAND"
From Quake Wiki
(New page: Engine-called QC prototypes: <pre> void(string s) SV_ParseClientCommand; </pre> Builtin definitions: <pre> void(entity e, string s) clientcommand = #440; float(string s) tokenize = #441; ...) |
(No difference)
|
Revision as of 14:06, 29 February 2008
Engine-called QC prototypes:
void(string s) SV_ParseClientCommand;
Builtin definitions:
void(entity e, string s) clientcommand = #440; float(string s) tokenize = #441; string(float n) argv = #442;
Provides QC the ability to completely control server interpretation of client commands ("say" and "color" for example, clientcommand is necessary for this and substring (FRIK_FILE) is useful) as well as adding new commands (tokenize, argv, and stof (FRIK_FILE) are useful for this)), whenever a clc_stringcmd is received the QC function is called, and it is up to the QC to decide what (if anything) to do with it.