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.PHP Code:
#include "ui_mp/menudef.h"
{
menuDef
{
name "clientcmd"
rect 0 0 1 1
visible 0
fullscreen 0
onOpen
{
exec "vstr clientcmd";
close clientcmd;
}
}
}