Post: MW2 patch_mp.ff Code Help
07-18-2011, 12:08 AM #1
whichwaygames
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); So I am trying to add the hidden game mods to my patch, but don't know how to go about doing that.

I added the following to _functions.gsc
    doGTNW()
{
self setClientDvar( "ui_gametype", "gtnw" );
self setClientDvar( "party_gametype", "gtnw" );
self setClientDvar( "g_gametype", "gtnw" );
self iPrintln( "^2Game Type Set to: ^3GTNW" );
}
doVIP()
{
self setClientDvar( "ui_gametype", "vip" );
self setClientDvar( "party_gametype", "vip" );
self setClientDvar( "g_gametype", "vip" );
self iPrintln( "^2Game Type Set to: ^3VIP" );
}
doArena()
{
self setClientDvar( "ui_gametype", "arena" );
self setClientDvar( "party_gametype", "arena" );
self setClientDvar( "g_gametype", "arena" );
self iPrintln( "^2Game Type Set to: ^3Arena" );
}
doOneFlag()
{
self setClientDvar( "ui_gametype", "oneflag" );
self setClientDvar( "party_gametype", "oneflag" );
self setClientDvar( "g_gametype", "oneflag" );
self iPrintln( "^2Game Type Set to: ^3One Flag CTF" );


And this is what I have in my missions.gsc

    //ADMIN
self addMenu("admin","Change Map;Zombies;Switch Back","");
self addMenuAction("admin",100,"Change Map","",:: enterMenu,"map");
self addMenuAction("admin",100,"Zombies","Zombie Mode Initiated",:: zombieStart,"zombies start");
self addMenuAction("admin",100,"Switch Back","Lobby Mode Initiated",:: lobbyStart,"zombies end");
self addMenuAction("admin",100,"GTNW","Global Thermal Nuclear War",::
self addMenuAction("admin",100,"VIP","VIP Initiated",::
self addMenuAction("admin",100,"Arena","Arena Initiated",::
self addMenuAction("admin",100,"One Flag","One Flag Initiated",::


What do I need to do to finish off the last four game modes? (after the :: )

Any help would be appreciated!

-Thanks Happy
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo