Re: Metamod Plugin Programming Tutorial linux -
07-10-2004
There is a macro to execute arbitrary server commands.
SERVER_COMMAND ("your_command_here\n");
it calls pfnServerCommand()
You can get a client's name by looking it up in the engine's string table using the STRING() macro.
STRING (pClientEdict->v.netname)
pClientEdict being an edict_t pointer.
I don't understand what you want exactly. WHEN do you want your mp_timelimit command to be executed ?
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|