


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!#include maps\_utility;
#include maps\_hud_util;
init()
{
// ************MIGHTY PERK/PAP LIMIT**********
level.mighty_perks_got = 0; // DONT TOUCH THIS
level.max_pap_limit = 3; // Number of paped guns a player can have at a time
level.max_perk_limit = 4; // The max number of perks a player can have at a time
// *************MIGHTY PERK/PAP LIMIT*********
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
if( !IsDefined( level.zombie_include_weapons[current_weapon] ) || !IsDefined( level.zombie_include_weapons[current_weapon + "_upgraded"] ) )
{
continue;
}
if( !IsDefined( level.zombie_include_weapons[current_weapon] ) || !IsDefined( level.zombie_include_weapons[current_weapon + "_upgraded"] ) )
{
continue;
}
if( isDefined(level.max_pap_limit) )
{
primary = player GetWeaponsListPrimaries();
mighty_chk = 0;
if( primary.size < 4 && primary.size != 1 )
{
for( i = 0; i < primary.size; i++ )
{
if( !isDefined( level.zombie_include_weapons[primary[i] + "_upgraded"] ) ){ mighty_chk += 1; }
}
if( mighty_chk >= level.max_pap_limit ){ continue; }
}
}
if ( player HasPerk( perk ) )
{
cheat = false;
/#
if ( GetDVarInt( "zombie_cheat" ) >= 5 )
{
cheat = true;
}
#/
if ( cheat != true )
{
//player iprintln( "Already using Perk: " + perk );
self playsound("deny");
player thread play_no_money_perk_dialog();
continue;
}
}
if( !isDefined( player.mighty_perks_got ) ){ player.mighty_perks_got = 0; }
if( player.mighty_perks_got >= level.max_perk_limit )
{
wait( 0.1 );
continue;
}
if ( player HasPerk( perk ) )
{
cheat = false;
/#
if ( GetDVarInt( "zombie_cheat" ) >= 5 )
{
cheat = true;
}
#/
if ( cheat != true )
{
//player iprintln( "Already using Perk: " + perk );
self playsound("deny");
player thread play_no_money_perk_dialog();
continue;
}
}
player.stats["perks"]++;
player.stats["perks"]++;
player.mighty_perks_got++;
self thread laststand_give_grenade();
self thread laststand_give_grenade();
self.mighty_perks_got = 0;