Topic: [SOLVED] Adding F1 Console Commands - Help pls
I would like to add custom console commands to my client.
I did alot of searching and found stuff like this:
Console()->Register("say_team", "r", CFGFLAG_CLIENT, ConSayTeam, this, "Say in team chat");
But when i make my own, like this for example:
Console()->Register("say_test", "r", CFGFLAG_CLIENT, ConSayTeam, this, "Say Test");
It doesnt show up when i press F1
Then i also found lines that look like this:
MACRO_CONFIG_INT(ClCpuThrottle, cl_cpu_throttle, 0, 0, 100, CFGFLAG_SAVE|CFGFLAG_CLIENT, "")
but copying and changing also has no effect.
Could someone pls tell me how this works?