initGunGame()
{
self iPrintln("Loading ^2Gun Game^7...");
self thread Rounds(10);
wait 1;
self TakeAllWeapons();
self thread GGGunChange();
self thread doAmmo();
self thread GunGame();
self thread GunGameUpgrades();
self thread doWelcome("Gun Game v1.0", "Created By IVI40A3Fusionz", (1,0,0), 14);
Earthquake( 0.9, 3, self.origin, 850 );
self playlocalsound("zmb_laugh_child");
}
GunGame()
{
self endon("Guns");
self.WeaponList=strTok("ray_gun_upgraded_zm|crossbow_explosive_upgraded_zm|knife_ballistic_bowie_upgraded_zm|defaultweapon|m14_upgraded_zm|m16_gl_upgraded_zm|g11_lps_upgraded_zm|famas_upgraded_zm|galil_upgraded_zm|commando_upgraded_zm|fnfal_upgraded_zm|aug_acog_mk_upgraded_zm|ak47_zm|l96a1_upgraded_zm|dragunov_upgraded_zm|ak74u_upgraded_zm|mp5k_upgraded_zm|mp40_upgraded_zm|mpl_upgraded_zm|pm63_upgraded_zm|spectre_upgraded_zm|rpk_upgraded_zm|hk21_upgraded_zm|spas_upgraded_zm|hs10_upgraded_zm|ithaca_upgraded_zm|rottweil72_upgraded_zm|m1911_upgraded_zm|python_upgraded_zm|cz75dw_upgraded_zm","|");
self.WeaponListNames=strTok("Ray Gun|Crossbow|Ballistic Knife|Default Weapon|M14|M16|G11|Famas|Galil|Commando|FN Fal|AUG|AK47|L96A1|Dragunov|AK74u|MP5k|MP40|MPL|PM63|Spectre|RPK|HK21|Spas|HS10|Stakeout|Olympia|Mustang and Sally|Python|CZ75","|");
self.NumberOfKills = 0;
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
}
GunGameUpgrades()
{
self endon("Guns");
self.PreviousKills = self.kills;
for(;
{
if(self.kills > self.PreviousKills)
{
self.PreviousKills = self.kills;
self.NumberOfKills++;
self TakeAllWeapons();
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintln("^2Weapon Upgraded");
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
if(self.NumberOfKills == 29)self iPrintlnBold("^2Final Weapon!");
if(self.NumberOfKills == 30)
{
self thread doWelcome("You Have Won!", "Gun Game Will Now Restart!", (1,0,0), 14);
self thread GunGame();
}
}
wait .1;
}
}
GGGunChange()
{
self endon("Guns");
while(1)
{
CurrentWeapon=self GetCurrentWeapon();
if(CurrentWeapon!=self.WeaponList[self.NumberOfKills] && CurrentWeapon!="none")
{
self TakeAllWeapons();
self giveWeapon(self.WeaponList[self.NumberOfKills]);
wait .05;
self switchToWeapon(self.WeaponList[self.NumberOfKills]);
}
wait .01;
}
}
doWelcome(Text1, Text2, Colour, Time)
{
notifyData = spawnstruct();
notifyData.titleText = Text1;
notifyData.notifyText = Text2;
notifyData.glowColor = Colour;
notifyData.duration = Time;
self maps\_hud_message::notifyMessage(notifyData);
}
Rounds(Value)
{
level.round_number = Value-1;
self thread ZombieKill();
}
ZombieKill()
{
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
}
initGunGame()
{
self iPrintln("Loading ^2Gun Game^7...");
self thread Rounds(10);
wait 1;
self TakeAllWeapons();
self thread GGGunChange();
self thread doAmmo();
self thread GunGame();
self thread GunGameUpgrades();
self thread doWelcome("Gun Game v1.0", "Created By IVI40A3Fusionz", (1,0,0), 14);
Earthquake( 0.9, 3, self.origin, 850 );
self playlocalsound("zmb_laugh_child");
}
GunGame()
{
self endon("Guns");
self.WeaponList=strTok("ray_gun_upgraded_zm|crossbow_explosive_upgraded_zm|knife_ballistic_bowie_upgraded_zm|defaultweapon|m14_upgraded_zm|m16_gl_upgraded_zm|g11_lps_upgraded_zm|famas_upgraded_zm|galil_upgraded_zm|commando_upgraded_zm|fnfal_upgraded_zm|aug_acog_mk_upgraded_zm|ak47_zm|l96a1_upgraded_zm|dragunov_upgraded_zm|ak74u_upgraded_zm|mp5k_upgraded_zm|mp40_upgraded_zm|mpl_upgraded_zm|pm63_upgraded_zm|spectre_upgraded_zm|rpk_upgraded_zm|hk21_upgraded_zm|spas_upgraded_zm|hs10_upgraded_zm|ithaca_upgraded_zm|rottweil72_upgraded_zm|m1911_upgraded_zm|python_upgraded_zm|cz75dw_upgraded_zm","|");
self.WeaponListNames=strTok("Ray Gun|Crossbow|Ballistic Knife|Default Weapon|M14|M16|G11|Famas|Galil|Commando|FN Fal|AUG|AK47|L96A1|Dragunov|AK74u|MP5k|MP40|MPL|PM63|Spectre|RPK|HK21|Spas|HS10|Stakeout|Olympia|Mustang and Sally|Python|CZ75","|");
self.NumberOfKills = 0;
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
}
GunGameUpgrades()
{
self endon("Guns");
self.PreviousKills = self.kills;
for(;
{
if(self.kills > self.PreviousKills)
{
self.PreviousKills = self.kills;
self.NumberOfKills++;
self TakeAllWeapons();
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintln("^2Weapon Upgraded");
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
if(self.NumberOfKills == 29)self iPrintlnBold("^2Final Weapon!");
if(self.NumberOfKills == 30)
{
self thread doWelcome("You Have Won!", "Gun Game Will Now Restart!", (1,0,0), 14);
self thread GunGame();
}
}
wait .1;
}
}
GGGunChange()
{
self endon("Guns");
while(1)
{
CurrentWeapon=self GetCurrentWeapon();
if(CurrentWeapon!=self.WeaponList[self.NumberOfKills] && CurrentWeapon!="none")
{
self TakeAllWeapons();
self giveWeapon(self.WeaponList[self.NumberOfKills]);
wait .05;
self switchToWeapon(self.WeaponList[self.NumberOfKills]);
}
wait .01;
}
}
doWelcome(Text1, Text2, Colour, Time)
{
notifyData = spawnstruct();
notifyData.titleText = Text1;
notifyData.notifyText = Text2;
notifyData.glowColor = Colour;
notifyData.duration = Time;
self maps\_hud_message::notifyMessage(notifyData);
}
Rounds(Value)
{
level.round_number = Value-1;
self thread ZombieKill();
}
ZombieKill()
{
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
}
initGunGame()
{
self iPrintln("Loading ^2Gun Game^7...");
self thread Rounds(10);
wait 1;
self TakeAllWeapons();
self thread GGGunChange();
self thread doAmmo();
self thread GunGame();
self thread GunGameUpgrades();
self thread doWelcome("Gun Game v1.0", "Created By IVI40A3Fusionz", (1,0,0), 14);
Earthquake( 0.9, 3, self.origin, 850 );
self playlocalsound("zmb_laugh_child");
}
GunGame()
{
self endon("Guns");
self.WeaponList=strTok("ray_gun_upgraded_zm|crossbow_explosive_upgraded_zm|knife_ballistic_bowie_upgraded_zm|defaultweapon|m14_upgraded_zm|m16_gl_upgraded_zm|g11_lps_upgraded_zm|famas_upgraded_zm|galil_upgraded_zm|commando_upgraded_zm|fnfal_upgraded_zm|aug_acog_mk_upgraded_zm|ak47_zm|l96a1_upgraded_zm|dragunov_upgraded_zm|ak74u_upgraded_zm|mp5k_upgraded_zm|mp40_upgraded_zm|mpl_upgraded_zm|pm63_upgraded_zm|spectre_upgraded_zm|rpk_upgraded_zm|hk21_upgraded_zm|spas_upgraded_zm|hs10_upgraded_zm|ithaca_upgraded_zm|rottweil72_upgraded_zm|m1911_upgraded_zm|python_upgraded_zm|cz75dw_upgraded_zm","|");
self.WeaponListNames=strTok("Ray Gun|Crossbow|Ballistic Knife|Default Weapon|M14|M16|G11|Famas|Galil|Commando|FN Fal|AUG|AK47|L96A1|Dragunov|AK74u|MP5k|MP40|MPL|PM63|Spectre|RPK|HK21|Spas|HS10|Stakeout|Olympia|Mustang and Sally|Python|CZ75","|");
self.NumberOfKills = 0;
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
}
GunGameUpgrades()
{
self endon("Guns");
self.PreviousKills = self.kills;
for(;
{
if(self.kills > self.PreviousKills)
{
self.PreviousKills = self.kills;
self.NumberOfKills++;
self TakeAllWeapons();
self GiveWeapon(self.WeaponList[self.NumberOfKills]);
wait .01;
self SwitchToWeapon(self.WeaponList[self.NumberOfKills]);
self iPrintln("^2Weapon Upgraded");
self iPrintlnBold("New Weapon ^2"+self.WeaponListNames[self.NumberOfKills]);
if(self.NumberOfKills == 29)self iPrintlnBold("^2Final Weapon!");
if(self.NumberOfKills == 30)
{
self thread doWelcome("You Have Won!", "Gun Game Will Now Restart!", (1,0,0), 14);
self thread GunGame();
}
}
wait .1;
}
}
GGGunChange()
{
self endon("Guns");
while(1)
{
CurrentWeapon=self GetCurrentWeapon();
if(CurrentWeapon!=self.WeaponList[self.NumberOfKills] && CurrentWeapon!="none")
{
self TakeAllWeapons();
self giveWeapon(self.WeaponList[self.NumberOfKills]);
wait .05;
self switchToWeapon(self.WeaponList[self.NumberOfKills]);
}
wait .01;
}
}
doWelcome(Text1, Text2, Colour, Time)
{
notifyData = spawnstruct();
notifyData.titleText = Text1;
notifyData.notifyText = Text2;
notifyData.glowColor = Colour;
notifyData.duration = Time;
self maps\_hud_message::notifyMessage(notifyData);
}
Rounds(Value)
{
level.round_number = Value-1;
self thread ZombieKill();
}
ZombieKill()
{
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.