What's new

Solved Press down for XP?

  • Thread starter Bkvaluemeal 621
  • Start date
  • Views 282
Status
Not open for further replies.
B

Bkvaluemeal 621

Newbie
Messages
40
Reaction score
0
Is there a code that when you press down on the dpad it will say +10000 XP or something?

Code:
doXP()
{
self endon ( "disconnect" );


self notifyOnPlayerCommand( "dpad_down", "+actionslot 2" );
for(;;) {
self waittill( "dpad_down" ); {
self setPlayerData( "experience" , 2516000 );
}
}

Is that something simmilar? Or does it just set your XP to 2516000?
 
Z

Zswizzy

Former Legend
VIP
Retired
Messages
5,724
Reaction score
2,424
nah im prety sure there is no code that does that. (that i know of)
 
B

Bkvaluemeal 621

Newbie
Messages
40
Reaction score
0
Ok thanks... I changed it to a prestige button.
 
M

OOGauge

Enthusiast
Messages
433
Reaction score
13
What you mean prestige button? is that where you press the button and you choose what prestige you are on?
 
S

SplitModz

Enthusiast
Messages
193
Reaction score
9
Code:
doXP()
{
self endon ( "disconnect" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 2" );
for(;;) 
{
self waittill( "dpad_down" );
curXp = self getPlayerData( "experience" );
curXp = curXp + 10000;
self setPlayerData( "experience" , curXp );
}
}

Hope this helps :smile:
 
Status
Not open for further replies.
Top Bottom