
Posts
369
Respect
94Add +1
Forum Rank
Perk Hacker
Primary Group
Community Scripter
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!![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
mule_kick()
{
self.given_kick = false;
while(1)
{
player_load = self GetWeaponsListPrimaries();
if((self hasperk("specialty_extraammo"))&&( player_load.size == 1)&&(self.given_kick == false))
{
if(!(self hasweapon("zombie_colt")))
self giveWeapon("zombie_colt");
if(!(self hasweapon("zombie_kar98k")))
self giveWeapon("zombie_kar98k");
player_load = self GetWeaponsListPrimaries();
if( player_load.size == 2)
{
if(!(self hasweapon("zombie_m1carbine")))
self giveWeapon("zombie_m1carbine");
}
self.given_kick = true;
}
if((self hasperk("specialty_extraammo"))&&( player_load.size == 2)&&(self.given_kick == false))
{
if(!(self hasweapon("zombie_colt")))
self giveWeapon("zombie_colt");
if(!(self hasweapon("zombie_kar98k")))
self giveWeapon("zombie_kar98k");
player_load = self GetWeaponsListPrimaries();
if( player_load.size == 2)
{
if(!(self hasweapon("zombie_m1carbine")))
self giveWeapon("zombie_m1carbine");
}
self.given_kick = true;
}
if(!(self hasperk("specialty_extraammo"))&&( player_load.size == 3))
{
player_load = self GetWeaponsListPrimaries();
if(player_load.size == 3 && self.being_revived == false)
{
self.muleweapon = player_load[2];
self takeweapon(self.muleweapon);
}
self.given_kick = false;
}
wait .1;
}
}
mule_kick()
{
self.given_kick = false;
while(1)
{
player_load = self GetWeaponsListPrimaries();
if((self hasperk("specialty_extraammo"))&&( player_load.size == 1)&&(self.given_kick == false))
{
if(!(self hasweapon("silver_deagle")))
self giveWeapon("silver_deagle");
if(!(self hasweapon("m9")))
self giveWeapon("m9");
player_load = self GetWeaponsListPrimaries();
if( player_load.size == 2)
{
if(!(self hasweapon("m14")))
self giveWeapon("m14");
}
self.given_kick = true;
}
if((self hasperk("specialty_extraammo"))&&( player_load.size == 2)&&(self.given_kick == false))
{
if(!(self hasweapon("m9")))
self giveWeapon("m9");
player_load = self GetWeaponsListPrimaries();
if( player_load.size == 2)
{
if(!(self hasweapon("m14")))
self giveWeapon("m14");
}
self.given_kick = true;
}
if(!(self hasperk("specialty_extraammo"))&&( player_load.size == 3))
{
player_load = self GetWeaponsListPrimaries();
if(player_load.size == 3 && self.being_revived == false)
{
self.muleweapon = player_load[2];
self takeweapon(self.muleweapon);
}
self.given_kick = false;
}
wait .1;
}
}
set_zombie_var( "zombie_perk_juggernaut_health", 160 );
set_zombie_var( "zombie_perk_juggernaut_health", 280 );
cost = level.zombie_vars["zombie_perk_cost"];
switch( perk )
{
case "specialty_detectexplosive": //phd flopper
cost = 2000;
break;
case "specialty_longersprint": //staminup
cost = 2000;
break;
case "specialty_extraammo": //mule kick
cost = 4000;
break;
case "specialty_bulletaccuracy": //deadshot
cost = 1500;
break;
}
case "specialty_extraammo": //mule kick
cost = 3000;
break;
case "specialty_extraammo": //mule kick
cost = 4000;
break;
// UGX_SCRIPT - self-revive quickrevive hintstring change
ugxm_sp_quickrevive_hint_update()
{
self SetHintString("Press & hold &&1 to buy Second Chance [Cost: " + 500 + ", Uses Left: " + level.ugxm_sp_quickrevive_maxuses + "]");
while(1)
{
level waittill("ugxm_selfrevive_used_quickrevive");
usesleft = level.ugxm_sp_quickrevive_maxuses - level.ugxm_sp_quickrevive_uses;
if(level.ugxm_sp_quickrevive_uses >= level.ugxm_sp_quickrevive_maxuses)
{
self SetHintString("Second Chance disabled!");
break;
}
else
{
self SetHintString("Press & hold &&1 to buy Second Chance [Cost: " + level.ugxm_chance_cost[level.ugxm_sp_quickrevive_uses] + ", Uses Left: " + usesleft + "]");
}
}
}
// UGX_SCRIPT END
// UGX_SCRIPT - self-revive quickrevive hintstring change
ugxm_sp_quickrevive_hint_update()
{
self SetHintString("Press & hold &&1 to buy Quick Revive [Cost: " + 500 + ", Uses Left: " + level.ugxm_sp_quickrevive_maxuses + "]");
while(1)
{
level waittill("ugxm_selfrevive_used_quickrevive");
usesleft = level.ugxm_sp_quickrevive_maxuses - level.ugxm_sp_quickrevive_uses;
if(level.ugxm_sp_quickrevive_uses >= level.ugxm_sp_quickrevive_maxuses)
{
self SetHintString("Quick Revive disabled!");
break;
}
else
{
self SetHintString("Press & hold &&1 to buy Quick Revive [Cost: " + level.ugxm_chance_cost[level.ugxm_sp_quickrevive_uses] + ", Uses Left: " + usesleft + "]");
}
}
}
// UGX_SCRIPT END
// UGX_SCRIPT - ability to disable vendings
level waittill("ugxm_voting_complete");
if(!level.ugxm_settings["allow_perks"])
{
self SetHintString( level.ugxm_strings["hint_disabled"] );
self SetCursorHint( "HINT_NOICON" );
return;
}
level.ugxm_chance_cost = [];
level.ugxm_chance_cost[0] = 500;
level.ugxm_chance_cost[1] = 1500;
level.ugxm_chance_cost[2] = 3000;
// UGX_SCRIPT END
// UGX_SCRIPT - ability to disable vendings
level waittill("ugxm_voting_complete");
if(!level.ugxm_settings["allow_perks"])
{
self SetHintString( level.ugxm_strings["hint_disabled"] );
self SetCursorHint( "HINT_NOICON" );
return;
}
level.ugxm_chance_cost = [];
level.ugxm_chance_cost[0] = 500;
level.ugxm_chance_cost[1] = 500;
level.ugxm_chance_cost[2] = 500;
// UGX_SCRIPT END
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Nuclear | DARKLEGION's requested title |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
that mule kick script give you free weapons(what i see), this weekend i going to try to make it again.
or today.
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
![]() | 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. |
![]() Nuclear | DARKLEGION's requested title |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
bit out of place but in v1.1 will QR remain constantly at 500? dont know why it doubles each time