Post: Prestige 1-10 for any player Noob Tut
12-01-2011, 02:50 AM #1
xRaW
xI2aW-
(adsbygoogle = window.adsbygoogle || []).push({}); This script will allow you to give any player whoever you click any prestige from 1-10. Please do not use this if you do not know how to add it into a menu or whatever. Even if you dont ill explain it here.

If you use a menu base like mine then it will be laid out like this. So what i done was say in the player menu i made a new menu inside it e.g. Player Prestige menu heres an example

    //Player Options
self.option[10][0] = "Kick Player";
self.option[10][1] = "[Un]Verify Player";
self.option[10][2] = "VIP Player";
self.option[10][3] = "Admin Player";
self.option[10][4] = "Kill Player";
self.option[10][5] = "Block Binds";
self.option[10][6] = "Give Player Binds";
self.option[10][7] = "Player Prestige Menu";
self.option[10][8] = "God Mode Player";
self.option[10][9] = "Bring Player Here";
self.option[10][10] = "Teleport To Player";
self.option[10][11] = "<--Page 2-->";
self.function[10][0] = ::Kick;
self.function[10][1] = ::Verify;
self.function[10][2] = ::VIP;
self.function[10][3] = ::Admin;
self.function[10][4] = ::diie;
self.function[10][5] = ::nobind;
self.function[10][6] = ::infectbind;
self.function[10][7] = ::submenu;
self.function[10][8] = ::PLYRGD;
self.function[10][9] = ::BringHere;
self.function[10][10] = ::teleportto;
self.function[10][11] = ::submenu;
self.opt[10][7] = 15;
self.opt[10][11] = 14;


Look at self.option[10][7] = "Player Prestige Menu";
and
self.function[10][7] = ::submenu;

You can see 10 and 7 match.
Now look at self.opt[10][7] = 15;
You can change that 15 to any number but make sure any other menu in your patch doesnt use that number ([15][0])

So i didnt have 15 so i made 15.

Heres the 15 submenu

    //Player Prestige Menu
self.option[15][0] = "Prestige 10";
self.option[15][1] = "Prestige 9";
self.option[15][2] = "Prestige 8";
self.option[15][3] = "Prestige 7";
self.option[15][4] = "Prestige 6";
self.option[15][5] = "Prestige 5";
self.option[15][6] = "Prestige 4";
self.option[15][7] = "Prestige 3";
self.option[15][8] = "Prestige 2";
self.option[15][9] = "Prestige 1";
self.function[15][0] = ::PL10;
self.function[15][1] = ::PL9;
self.function[15][2] = ::PL8;
self.function[15][3] = ::PL7;
self.function[15][4] = ::PL6;
self.function[15][5] = ::PL5;
self.function[15][6] = ::PL4;
self.function[15][7] = ::PL3;
self.function[15][8] = ::PL2;
self.function[15][9] = ::PL1;


Here you can see PL1 2 3 ect ect. Thats the threads. Now heres the codes

    PL10(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 10 );}
PL9(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 9 );}
PL8(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 8 );}
PL7(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 7 );}
PL6(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 6 );}
PL5(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 5 );}
PL4(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 4 );}
PL3(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 3 );}
PL2(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 2 );}
PL1(){player = level.players[self.selplay];player thread Rank65();player thread Prestige( 1 );}


You will need these codes
    Rank65()
{
self.pers["rankxp"] = 153900;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}


And
    Prestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 153900;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}


Just make sure you place them anywhere you like. If you layout the menu exactly like that but change the numbers it will work.

All credits for the original codes ect, credit for me just helping out you people who dont know how to do stuff

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

Convex, oO-GKUSH-Oo
12-24-2011, 01:54 AM #11
bloodthugga
Bounty hunter
xraw suck 4 edit patch
12-24-2011, 02:41 AM #12
xRaW
xI2aW-
Originally posted by bloodthugga View Post
xraw suck 4 edit patch

what lol? i suck at editing? i know Gaspkay:
12-25-2011, 12:38 AM #13
bloodthugga
Bounty hunter
lol jk...................
12-26-2011, 10:59 PM #14
Dreamcather
Call me Eddie Winky Winky
old... i have seen these before
12-26-2011, 11:11 PM #15
xRaW
xI2aW-
Originally posted by EddieMeduza View Post
old... i have seen these before
Yes in patches, but not an entire menu of every prestige that you can give to your desired player. Maybe in patches but not on a thread so people who want to make their own patch this will come in useful. Everything in this section you put down. I never said i take full credit i dont need no credit whatsoever but you always question other peoples shit.
12-28-2011, 03:55 PM #16
Dreamcather
Call me Eddie Winky Winky
Originally posted by xRaW View Post
Yes in patches, but not an entire menu of every prestige that you can give to your desired player. Maybe in patches but not on a thread so people who want to make their own patch this will come in useful. Everything in this section you put down. I never said i take full credit i dont need no credit whatsoever but you always question other peoples shit.


question" ? i dont asking i just said i have "seen" that code before...
+ i dont care, i dont mod or play CoD ...
kthxbye
12-28-2011, 08:53 PM #17
thanks for thi tut
12-28-2011, 09:01 PM #18
sunce99
League Champion
Nice job but i think everyone want to be 10th or 9th for mw3 Awesome face
01-15-2012, 09:09 PM #19
Where am i placing theses files?

im not good at this nor is this for me just trying to help afreind.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo