where to find server side command completition?


(Superdreadnought) #1

does ne1 know where i can find the server side command completition?
i’ve addes some new server side commands but they dont get automatically listend and my search with egrep for “killserver” (which has auto completition) does only give me 3 lines in ui_main.c which dont like like the completition-thingy …

THX4YA’HELP!


(jaybird) #2

If you look in cgame, there are many calls to trap_AddCommand. These are commands that the client can use and get auto-completed when you hit tab. Add your commands by using that function.


(Jaquboss) #3

EDIT: nice timing jaybird :nag:
well, you can call only that trap, autocompleted cvars are only the engine ones in server console, right?


(Superdreadnought) #4

but im looking for server side auto completition …


(Superdreadnought) #5

looks like etpro has the same problem … server command completition isnt working for cp, cpm, … in it, either.