What's new

Discussion People that are already 10th Prestege get Kicked after a ceritan time

  • Thread starter Mr TenseJACOB
  • Start date
  • Views 2,284
M

Mr TenseJACOB

Enthusiast
Messages
271
Reaction score
35
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
self thread doChallenges();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...


Fixed! Thanks :biggrin:
 
C

Cheez

I Got The Wizard Stick
Retired
Messages
4,721
Reaction score
2,740
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if ( player selfPlayerData( "experience", 2516000 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...

Actually not a bad idea.
 
I

iHc Haxalot

Enthusiast
Messages
800
Reaction score
32
ok...so what moderator keeps on changing what i say <_< not funny...
 
D

Dwack

Now employed at Dominoes!
Messages
4,550
Reaction score
2,946
Code:
pLevel = self maps\mp\gametypes\_persistence::statGet( "prestige" );
if(pLevel == 10) {
// << Mods
}
 
C

CraigChrist8239

VIP
VIP
Messages
2,644
Reaction score
3,921
Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );

You might want to unlock all as well. They might be level 70 but not everything unlocked...
 
K

Koolsami7

Enthusiast
Messages
522
Reaction score
135
Code:
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
self.kick = 0; // add this to onPlayerConnected
}
}
doToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread doIf();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doIf()
{
if((self.Kick == 1) && (self getPrestigeLevel() == 10) && (self.pers[ "rank" ] == 69)) 
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
if( self.Kick == 0 ) 
{
//do Nothing
}
}
That Toggle
 
X

xI cHOcOLaTe

Getting There
Messages
1,496
Reaction score
1,612
Wow.. Not a bad idea o_O. Good job on that simple script Dwack n_n
 
I

I DO TENTH XD

Newbie
Messages
24
Reaction score
1
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
self thread doChallenges();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...


Fixed! Thanks :biggrin:
I Have a patch already don't remember whos it is but it has a option for host to only give infection then they get kicked and they get the message on there screen "YOU'VE BEEN INFECTED NOW F**K OFF "
 
M

MisterLinOx

Enthusiast
Messages
186
Reaction score
13
Code:
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
self.kick = 0; // add this to onPlayerConnected
}
}
doToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread doIf();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doIf()
{
if((self.Kick == 1) && (self getPrestigeLevel() == 10) && (self.pers[ "rank" ] == 69)) 
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
if( self.Kick == 0 ) 
{
//do Nothing
}
}
That Toggle
You created a variable for that, but IIRC you just created it for yourself. Meaning it will say that to you and not anyone else when you toggle. I would start the function out with a
Code:
if(self.name != "name" || self.name != "name" || self.name != "etc.")
 
R

Roid Modders

Enthusiast
Messages
149
Reaction score
84
please find this out and release<3
 
M

ModsBABY

Enthusiast
Messages
712
Reaction score
91
So does the code fully work ?
 
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,452
Reaction score
1,907
Sweet idea, i hate tenth prestige leechers
 
I

ImaSpamLikaBoss

Newbie
Messages
27
Reaction score
0
CLICK HERE to sign up at Prestigehackers.com

We offer 10th Prestige Lobbys and Infection Lobbys for Modern Warfare 2 and Call Of Duty World at War.
You won't find any other site with prices as low as ours!
We also offer a lot of other great services just regester for free HERE !
If you don't belive us we LiveStream around 8:30pm Eastern when our lobbys are taking place
Also, we are at 2,975 members. If you join and are the 3000th member you will get a FREE Infection on me! Members are joining fast so hurry and regester
 
S

SlaYoRz

I like it
Messages
351
Reaction score
8
I think making it so that people that are already level 70 get kicked within a time limit would be better. Some people don't like to get 10th so they would get around this.
 
I

ImaSpamLikaBoss

Newbie
Messages
27
Reaction score
0
I think making it so that people that are already level 70 get kicked within a time limit would be better. Some people don't like to get 10th so they would get around this.
CLICK HERE to sign up at Prestigehackers.com

We offer 10th Prestige Lobbys and Infection Lobbys for Modern Warfare 2 and Call Of Duty World at War.
You won't find any other site with prices as low as ours!
We also offer a lot of other great services just regester for free HERE !
If you don't belive us we LiveStream around 8:30pm Eastern when our lobbys are taking place
Also, we are at 2,975 members. If you join and are the 3000th member you will get a FREE Infection on me! Members are joining fast so hurry and regester
 
C

ConsoleHackers

Member Since 2010
Messages
3,065
Reaction score
337
But there is a problem it might be or might not but if you have your friends in there and they are 10th wont they get kicked.

Edit: Nvm i think i saw a toggle for it.
 
R

RAG3

Enthusiast
Messages
302
Reaction score
6
edited this should work

Code:
ddoPrestigeToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread maps\mp\gametypes\_ranc::doPrestigeCheck();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doPrestigeCheck()
{
if((self.Kick == 1)) 
{
if ((self getPrestigeLevel() == 10)) 
{
if ((self.pers[ "rank" ] == 69))
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
}
}
}



credits to the guys who initally figured and coded this :wink:
 
X

xiModxClanx

Enthusiast
Messages
339
Reaction score
19
Does this work?

(self.pers[ "rank" ] == 69))
Why is it 69 and not 70?
 
Top Bottom