❓ MW2 Ultimate Admin System without other mod

Posts 1–3 of 3 · Page 1 of 1
❓ MW2 Ultimate Admin System without other mod
Hi! I want to use this mod: http://www.mpgh.net/forum/showthread.php?t=176589 but I only found tutorials for add it to other mod.

The problem is I only want to use it, without other mod.
What do I have to do?
Quote Originally Posted by Gutih View Post
Hi! I want to use this mod: http://www.mpgh.net/forum/showthread.php?t=176589 but I only found tutorials for add it to other mod.

The problem is I only want to use it, without other mod.
What do I have to do?


Well, you could call the function from the GSC file. The function to activate the menu:
Code:
self maps\mp\gametypes\*FileName without  .gsc*::*Main Function Name*();
You would add this code to the _rank.gsc where you would add an check if the player presses an button, and then call the function like showed above.
Code:
keypressCheck()
{
self notifyOnPlayerCommand("N", "+actionslot 1"); //Assigns N to actionslot 1
for(;;)
{
self waittill("N"): //Waits til someone presses N
**HERE YOUR FUNCTION GOES**
}
}
Key detection copy from: master131 here
@Gutih solved?
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us