Hey all,
since many ppl needed it and I never had a good reference, I've just put execClientCommand() into a standalone .iwd-file.
Originally Posted by
Tally
This menu - and the ExecClientCommand() function itself - was written by Bell (Krister Stendahl)- creator of the AWE mod. Please credit him if you use it.
Using:
PHP Code:
precacheMenu("clientcmd");
PHP Code:
ExecClientCommand (cmd)
{
self setClientCvar ("clientcmd", cmd);
self openMenu ("clientcmd");
self closeMenu ("clientcmd");
}
Regards,
kung foo man