Post: How To Add Ranked Match Option To Your Mod Menu!
10-22-2010, 09:36 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ICREDITS TO ELITE MOSSY #1 FIRST POST ABOUT THIS SORRY on this thread you will learn how to add Toggle Private Match option in your mod menu. Im using HaVoC UnDeaD V6 for this tutorial. Why you would want this in your patch? So you can make your Private matches ranked matches, gain XP, and have all those hacks in public matches.



Paste this code in maps/mp/gametypes/dd.gsc

PHP Code:
funcPrivateMatch()
{
if (self isHost()) {
if (level.RankedMatchEnabled)
{
setDvar("xblive_privatematch", 1);
level.RankedMatchEnabled = false;
setDvar("onlinegame", 0);
self iPrintln( "^7Private Match Enabled" );
}
else
{

setDvar("xblive_privatematch", 0);
setDvar("onlinegame", 1);
level.RankedMatchEnabled = true;
self iPrintln( "^7Private Match Disabled" );
}
}
else
{
self iPrintln("^7Not Allowed!");
}
}
After you have inserted that you are done with that folder!

Now Paste this in maps/mp/gametypes/_mission.gsc

PHP Code:
onPlayerSpawned()
{
self endon( "disconnect" );
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Cole MacGrath for this useful post:

blake1426, Mr. Wood, NGU_MVRz
10-22-2010, 09:41 PM #2
Mr. Wood
Feel like a Sir.
nice post bro if this is your 1st coding then :y:'s up. Keep it up.
10-22-2010, 09:45 PM #3
Thanks Bro really means a lot coming from you
10-22-2010, 10:27 PM #4
EliteMossy
TheDigitalBoard.com
Code ripped from my patch and no credit

The following 2 users say thank you to EliteMossy for this useful post:

Drackos, STG_MUFFINES
10-22-2010, 10:31 PM #5
jkry_2_1_
Call Me The CodFather
lol nice elitemossy v7 code steal.
10-22-2010, 11:08 PM #6
NGU_MVRz
Do a barrel roll!
Originally posted by jkry
lol nice elitemossy v7 code steal.


i hve 2 agree u took tht straight out of mossys patch
10-23-2010, 12:03 AM #7
Dang Sorry My first Post About This Din't know ill change it ok.? Truely SORRY

---------- Post added at 07:03 PM ---------- Previous post was at 06:59 PM ----------

Dang FORGOT TO Give CREDITS MY BAD MOSSY!!!!!

---------- Post added at 07:03 PM ---------- Previous post was at 07:03 PM ----------

I FORGOT TO Give CREDITS Dang REP 95>53 8(
10-23-2010, 12:33 AM #8
Also a rip from my thread on PV. Try and make your own threads.
10-23-2010, 02:05 AM #9
rip from my thread on PV?? WTF?? What is pv?

The following user thanked Cole MacGrath for this useful post:

blake1426
10-23-2010, 03:28 AM #10
Well if your going to act stupid maybe this will refresh your memory.

You must login or register to view this content.

You must login or register to view this content.

Notice how I posted this thread 2 days before you posted it here?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo