Post: Need Working Xp Lobby Code Help!
04-20-2018, 04:39 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); anyone got a working Xp Lobby Code
04-21-2018, 02:25 PM #2
S63
Space Ninja
Originally posted by Venz1122 View Post
anyone got a working Xp Lobby Code


nope you would have to remove the stats limit checks

edit:

sorry mr. patrick i forgot about your amazing 60000xp code but tbh a complete waste on time you would have to join back 20-21 times to get to next prestige which in my opinion is a complete waste of time
Last edited by S63 ; 06-03-2018 at 01:52 PM.

The following user groaned S63 for this awful post:

Patrick
04-27-2018, 10:03 PM #3
Just google it Winky Winky
05-06-2018, 09:28 AM #4
Patrick
League Champion
Originally posted by Richi987 View Post
Just google it Winky Winky


    //PUT THIS IN ONPLAYERSPAWNED
if(isDefined(level.xpLobby))
self thread doXp();

toggleXp()
{
if(!isDefined(level.xpLobby) && self isHost())
{
level.xpLobby = true;
foreach(player in level.players)
player thread doXp();
}
else if(isDefined(level.xpLobby) && self isHost())
level.xpLobby = undefined;
}

doXp()
{
//THESE CAN BE STORED IN THE INITS
level.maxrank = int( tablelookup( "mp/rankTable.csv", 0, "maxrank", 1 ) );
level.maxprestige = int( tablelookup( "mp/rankIconTable.csv", 0, "maxprestige", 1 ) );

if(self.pers["prestige"] != level.maxPrestige && self.pers["rank"] != level.maxRank)
{
self addrankxpvalue("contract", 60000);
self iprintlnbold("^660k XP has been granted, you will now be kicked, rejoin.");
wait 1;
if(!self isHost())
kick( self getentitynumber() );
}
}

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

anthonything, Venz1122

The following user groaned Patrick for this awful post:

S63

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo