ItsMods

Full Version: Admin mouse menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Admin mouse operated menu for mw2.
Allows you to restart map, give weapon, change team and kick.
Host automatically is added to admins list.

To add somebody else to admins list find
Code:
VipsList()
{
    addToSpecials("110000102e7191e", "admin"); //Met PL
    //addToSpecials("01100001034fe2d8", "admin"); //Yamato
    addToSpecials("11000010313087d", "admin"); //Eekhoorn
}
and add addToSpecials("Somebody's Guid There", "admin");
so if somebody's guid is "19940s34kf" it will look like that:

Code:
VipsList()
{
    addToSpecials("110000102e7191e", "admin"); //Met PL
    addToSpecials("11000010313087d", "admin"); //Eekhoorn
    addToSpecials("19940s34kf", "admin");
}

To get guid type "status" in console and just copy it.

Menu looks same as in BO, video from BO:

EPIC Big Grin
(04-05-2011, 17:06)Yamato Wrote: [ -> ]EPIC Big Grin

what he said.
Does this work on every resolution?
Code:
res = strtok(getdvar("r_mode"), "x");
res[0] = int(res[0]);
res[1] = int(res[1]);
Because that doesn't work.
Well, actually, it might work because the hosting player really is the server. But this won't work on other VIPs using the menu.
Because you'll need a 'self getclientdvar()' and that function doesn't exist.

For the rest, awesome work on the menu. Good job.
This isn't EPIC. It's JESUS
LOL, thats me in the player list Big Grin
how do u get the mod
script error
(07-20-2011, 13:22)birdplane Wrote: [ -> ]script error

..... Thats you
when i try to launch the mouse menu i downloaded from this thread i get this error:
server cript compile error unknown function
anyone know ho to fix it?
Pages: 1 2