


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!_harrybo21_utilities.gsc Code SnippetPlaintextharrybo21_return_loadout( stuff, ignore_perks )
{
self takeAllWeapons();
for ( i = 0; i < stuff.perk_inventory.size; i++ )
{
skip = false;
if ( isDefined( ignore_perks ) && ignore_perks.size > 0 )
{
for ( p = 0; p < ignore_perks.size; p++ )
{
if ( stuff.perk_inventory[ i ] == ignore_perks[ p ] )
{
skip = true;
break;
}
}
}
if ( skip )
continue;
self thread maps\_zombiemode_perks::harrybo21_perks_give_perk( stuff.perk_inventory[ i ] );
}
self.inventory = stuff.inventory;
weapon_max = self.inventory.size;
if ( !self hasPerk( "specialty_extraammo" ) )
weapon_max = 2;
for ( i = 0; i < weapon_max; i++ )
{
if ( stuff.inventory[ i ] != "none" )
{
self giveWeapon( stuff.inventory[ i ] );
self setWeaponAmmoClip( stuff.inventory[ i ], stuff.weap_ammo[ self.inventory[ i ] ][ "clip" ] );
self setWeaponAmmoStock( stuff.inventory[ i ], stuff.weap_ammo[ self.inventory[ i ] ][ "stock" ] );
}
}
for ( i = 0; i < 4; i++ )
{
if ( isDefined( stuff.action_inventory[ i ] ) && stuff.action_inventory[ i ] != "none" )
{
self maps\_harrybo21_utilities::harrybo21_give_gun( stuff.action_inventory[ i ] );
}
}
self.lastActiveWeapon = stuff.lastActiveWeapon;
if ( !self hasWeapon( self.lastActiveWeapon ) )
self.lastActiveWeapon = self.inventory[ 0 ];
self switchToWeapon( self.lastActiveWeapon );
/* if ( isDefined( stuff.grenade ) )
self harrybo21_set_grenade( stuff.grenade, stuff.weap_ammo[ stuff.grenade ][ "clip" ] );
else
self harrybo21_set_grenade( "fraggrenade", 0 );
if ( isDefined( stuff.alt_grenade ) )
self harrybo21_set_alt_grenade( stuff.alt_grenade, stuff.weap_ammo[ stuff.alt_grenade ][ "clip" ] );
else
self.alt_grenade = undefined; */
//I add this thanks to hitman
if ( !self hasweapon( "zombie_tomahawk" ) )
self takeweapon( "zombie_tomahawk" );
else if ( self hasweapon( "zombie_tomahawk_flourish" ) )
self takeweapon( "zombie_tomahawk_flourish" );
else if ( self hasweapon( "zombie_tomahawk_upgraded" ) )
self takeweapon( "zombie_tomahawk_upgraded" );
}
_zombiemode_perks.gsc Code SnippetPlaintextharrybo21_perks_player_revive()
{
self notify ( "player_revived", self );
self reviveplayer();
self.revives++;
self.stats[ "revives" ] = self.revives;
self harrybo21_return_loadout( self.loadout, self.loadout.perk_inventory );
self thread maps\_laststand::say_revived_vo();
self.revivetrigger delete();
self.revivetrigger = undefined;
self.health = self.maxhealth;
self AllowStand( true );
self AllowCrouch( true );
self AllowProne( true );
self AllowSprint( true );
self SetStance( "stand" );
self DisableInvulnerability();
self EnableWeaponCycling();
self _enableOffhandWeapons();
self freezecontrols( false );
self.being_revived = false;
self.ignoreme = false;
self.revived = true;
wait .1;
if ( isDefined( self.whos_who_active ) )
self VisionSetNaked( "zombie_whos_who", 1 );
else
{
self VisionSetNaked( level.zombie_vars[ "vision_file" ], 1 );
setClientSysState( "lsm", "0", self );
}
iPrintLnBold( "^1Last stand - loadout returned" );
if ( !self hasweapon( "zombie_tomahawk" ) )
self takeweapon( "zombie_tomahawk" );
else if ( self hasweapon( "zombie_tomahawk_flourish" ) )
self takeweapon( "zombie_tomahawk_flourish" );
else if ( self hasweapon( "zombie_tomahawk_upgraded" ) )
self takeweapon( "zombie_tomahawk_upgraded" );
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
You have a ! In the if statement
So it's doing
If I "don't" gave zombie tomahawk - take zombie tomahawk
Then again, I copied the lines and just added new names and other lines dont have !, so yeah 
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |