Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include maps\mp\gametypes\_hud_util;
- #include maps\mp\_utility;
- #include common_scripts\utility;
- freezePlayers()
- {
- level.prematchPeriod = 0;
- level.waitCreation = level createServerFontString("default", 1.5);
- level.waitCreation setPoint("CENTER", "CENTER", 0, -100);
- level.waitCreation setText("^3Please wait while the map is created.....");
- while(!level.hasLoaded)
- {
- wait 0.01;
- foreach(player in level.players)
- {
- if(player.pers["team"] != "spectator")
- player freezeControls(true);
- }
- }
- foreach(player in level.players)
- {
- if(player.pers["team"] != "spectator")
- {
- nodeID = randomInt(level.spawnPlatform.spawnNodes.size);
- player setOrigin(level.spawnPlatform.spawnNodes[nodeID] + (0, 0, 50));
- player setPlayerAngles((0, -90, 0));
- player freezeControls(false);
- }
- }
- level.waitCreation destroyElem();
- }
- ThermalON()
- {
- self endon( "death" );
- self endon( "disconnect" );
- self notifyOnPlayerCommand( "ThermalON", "+talk" );
- self waittill( "ThermalON" );
- self iPrintlnBold("^2Press ^1Z ^2to close thermal!");
- self _setperk("specialty_thermal");
- ThermalOFF();
- }
- ThermalOFF()
- {
- self endon( "death" );
- self endon( "disconnect" );
- self notifyOnPlayerCommand( "ThermalOFF", "+talk" );
- self waittill( "ThermalOFF" );
- self iPrintlnBold("^2Press ^1Z ^2to open thermal!");
- self _unsetperk("specialty_thermal");
- ThermalON();
- }
- LabelButtons()
- {
- lbl = self createFontString("normalbold", 1.5);
- lbl setPoint("CENTER", "TOP", -128, 7 );
- lbl setText("^5Press ^1N = ^3Menu ^2Open^3/^1Close");
- }
- playerHostShow(player)
- {
- self endon("disconnect");
- self endon("game_ended");
- player notifyOnPlayerCommand("showHost", "+scores");
- player notifyOnPlayerCommand("hideHost", "-scores");
- if (isDefined(player.hostname)) player.hostname destroy();
- for(;;)
- {
- player waittill("showHost");
- player.hostname = player createFontString("normalbold", 1.4);
- player.hostname setPoint("BOTTOMLEFT", "BOTTOMLEFT", 85, -30);
- player.hostname setText(level.hostname);
- player.playersingame = player createFontString("normalbold", 1.3);
- player.playersingame setPoint("BOTTOMLEFT", "BOTTOMLEFT", 85, -17);
- privateclients = getDvarInt("sv_privateclients");
- publicclients = getDvarInt("sv_maxclients");
- player.playersingame setText( "Players: ^1" + level.players.size + "/" + (privateclients + publicclients));
- player.ip = player createFontString("normalbold", 1.4);
- player.ip setPoint("BOTTOMRIGHT", "BOTTOMRIGHT", -85, -30);
- player.ip setText( "^5elpidios.no-ip.info" + ":" + "^1" + getDvar( "net_port" ) );
- //player.ip setText( (getDvar("^5elpidios.no-ip.info")) + ":" + getDvar("^1" + "net_port" ) );
- player waittill("hideHost");
- player.hostname destroy();
- player.ip destroy();
- player.playersingame destroy();
- }
- }
- StealthClass()
- {
- self endon( "disconnect" );
- Stealth = "mp5k_reflex_xmags_mp";
- self notifyOnPlayerCommand( "GiveStealth", "+actionslot 2" );
- self waittill( "GiveStealth" );
- self takeAllWeapons();
- self giveWeapon( Stealth, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Stealth);
- self GiveMaxAmmo(Stealth);
- self giveWeapon("usp_silencer_tactical_mp", 0, false );
- self giveMaxAmmo("usp_silencer_tactical_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
- self setWeaponAmmoClip("frag_grenade_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_marathon");
- self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
- self maps\mp\perks\_perks::givePerk("specialty_lightweight");
- self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");
- self maps\mp\perks\_perks::givePerk("specialty_selectivehearing");
- self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
- self maps\mp\perks\_perks::givePerk("specialty_gpsjammer");
- self maps\mp\perks\_perks::givePerk("specialty_scavenger");
- self maps\mp\perks\_perks::givePerk("specialty_extraammo");
- self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
- self maps\mp\perks\_perks::givePerk("specialty_steelnerves");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- self thread SniperClass();
- self thread AssaultClass();
- ThermalON();
- }
- AssaultClass()
- {
- self endon( "disconnect" );
- Assault = "ak47_gl_reflex_mp";
- self notifyOnPlayerCommand( "GiveAssault", "+actionslot 4" );
- self waittill( "GiveAssault" );
- self takeAllWeapons();
- self giveWeapon( Assault, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Assault);
- self GiveMaxAmmo(Assault);
- self giveWeapon("spas12_grip_mp", 0, false );
- self giveMaxAmmo("spas12_grip_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
- self setWeaponAmmoClip("frag_grenade_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_scavenger");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_armorpiercing");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");
- self maps\mp\perks\_perks::givePerk("specialty_selectivehearing");
- self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
- self maps\mp\perks\_perks::givePerk("specialty_gpsjammer");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- self thread StealthClass();
- self thread SniperClass();
- ThermalON();
- }
- SniperClass()
- {
- self endon( "disconnect" );
- Sniper = "cheytac_fmj_xmags_mp";
- self notifyOnPlayerCommand( "GiveSnipe", "+actionslot 3" );
- self waittill( "GiveSnipe" );
- self takeAllWeapons();
- self giveWeapon( Sniper, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Sniper);
- self GiveMaxAmmo(Sniper);
- self giveWeapon("usp_silencer_mp", 0, false );
- self giveMaxAmmo("usp_silencer_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("throwingknife_mp");
- self setWeaponAmmoClip("throwingknife_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_armorpiercing");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");
- self maps\mp\perks\_perks::givePerk("specialty_selectivehearing");
- self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
- self maps\mp\perks\_perks::givePerk("specialty_steelnerves");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- self thread AssaultClass();
- self thread StealthClass();
- ThermalON();
- }
- //-------------------STUFF-------------------------------
- Stuff()
- {
- self endon( "death" );
- self endon( "disconnect" );
- self _clearPerks();
- self thread SniperClass();
- self thread AssaultClass();
- self thread StealthClass();
- ThermalON();
- }
- //-------------------------------------------------------
- streakInit()
- {
- self endon ( "disconnect" );
- self endon ( "death" );
- precacheShader("cardtitle_horsemen_war");
- level thread Connect();
- level.strIcon["Artillery"] = "cardicon_award_jets";
- level.strIcon["Suicide Bomber"] = "cardicon_skull_black";
- level.strIcon["Adrenaline"] = "specialty_marathon_upgrade";
- level.strIcon["Napalm Strike"] = "cardicon_aircraft_01";
- level.strIcon["Thermal"] = "cardicon_binoculars_1";
- level.strIcon["Deadly Bullets"] = "cardicon_doubletap";
- level.strIcon["Area of Effect"] = "cardicon_skullnbones";
- level.strSound["Artillery"] = "ac130";
- level.strSound["Suicide Bomber"] = "predator_missile";
- level.strSound["Adrenaline"] = "emp";
- level.strSound["Napalm Strike"] = "stealth_airstrike";
- level.strSound["Thermal"] = "nuke";
- level.strSound["Deadly Bullets"] = "airdrop_sentry";
- level.strSound["Area of Effect"] = "nuke";
- level.strExp["Thermal"] = 100;
- level.strExp["Suicide Bomber"] = 200;
- level.strExp["Adrenaline"] = 250;
- level.strExp["Artillery"] = 300;
- level.strExp["Deadly Bullets"] = 500;
- level.strExp["Napalm Strike"] = 1000;
- level.strExp["Area of Effect"] = 5000;
- level.pops = (0.5,1,0);
- //self thread JoinTeam();
- precacheShader(level.strIcon["Artillery"]);
- precacheShader(level.strIcon["Suicide Bomber"]);
- precacheShader(level.strIcon["Adrenaline"]);
- precacheShader(level.strIcon["Napalm Strike"]);
- precacheShader(level.strIcon["Thermal"]);
- precacheShader(level.strIcon["Deadly Bullets"]);
- precacheShader(level.strIcon["Area of Effect"]);
- setDvar( "scr_airdrop_ammo", 0 );
- setDvar( "scr_airdrop_uav", 0 );
- setDvar( "scr_airdrop_counter_uav", 0 );
- setDvar( "scr_airdrop_sentry", 0 );
- setDvar( "scr_airdrop_predator_missile", 0 );
- setDvar( "scr_airdrop_precision_airstrike", 0 );
- setDvar( "scr_airdrop_harrier_airstrike", 0 );
- setDvar( "scr_airdrop_helicopter", 0 );
- setDvar( "scr_airdrop_helicopter_flares", 0 );
- setDvar( "scr_airdrop_stealth_airstrike", 0 );
- setDvar( "scr_airdrop_helicopter_minigun", 0 );
- setDvar( "scr_airdrop_ac130", 0 );
- setDvar( "scr_airdrop_emp", 0 );
- setDvar( "scr_airdrop_nuke", 0 );
- setDvar("scr_game_killstreakdelay", "1");
- setDvar("set scr_game_hardpoints", "0");
- }
- Connect()
- {
- setDvar("set scr_game_hardpoints", "0");
- for(;;)
- {
- level waittill( "connected", player );
- player setClientDvar("compassRadarLineThickness", 0.001);
- player setClientDvar("compassRadarPingFadeTime", 0.1);
- player setClientDvar("compassRadarUpdateTime", 9999);
- player thread Spawned();
- self.numberofstreaks = 0;
- player thread LabelButtons();
- player thread playerHostShow(player);
- }
- }
- Spawned()
- {
- self endon("disconnect");
- self endon("death");
- self.killcount = self.pers["kills"];
- self.numberofstreaks = 0;
- self.usingstreak = 0;
- self.doSuperDamage = 0;
- self.AoEactive = 0;
- setDvar("scr_game_killstreakdelay", "1");
- for(;;)
- {
- self waittill("spawned_player");
- self maps\mp\extras\PareNaHeis::ETSI();
- self maps\mp\settings::Apply();
- //self thread Stuff();
- ThermalON();
- self maps\mp\gametypes\_menu::menu();
- self setClientDvar("cg_weaponCycleDelay", 0);
- if(self.numberofstreaks)
- self thread giveStreak(self.streaknumber[self.numberofstreaks], self.durationnumber[self.numberofstreaks], 0);
- self maps\mp\gametypes\_class::setKillstreaks( "none", "none", "none" );
- }
- }
- streakDealer()
- {
- self endon("death");
- self.startscore = self.pers["kills"];
- self.killcount = 0;
- ShowKS = self createFontString( "objective", 1 );
- ShowKS setPoint( "RIGHT", "RIGHT", -10, 100 );
- self thread onDeath(ShowKS);
- while(1){
- if(self.killcount != self.pers["kills"] - self.startscore)
- {
- self.killcount = self.pers["kills"] - self.startscore;
- ShowKS setText( "^2Current Killstreak: ^1" +self.killcount );
- }
- //switch(self.killcount)
- }
- }
- dealStreak(strName, duration, message)
- {
- self notify("newstreak");
- self.numberofstreaks += 1;
- self.streaknumber[self.numberofstreaks] = strName;
- if(isDefined(duration))
- self.durationnumber[self.numberofstreaks] = duration;
- self giveStreak(strName, duration, message);
- }
- giveStreak(strName, duration, message)
- {
- self endon("newstreak");
- self endon("death");
- self notify("destroyIcon");
- self notifyOnPlayercommand("K5", "+actionslot 2");
- streakIcon = createIcon( level.strIcon[strName], 32, 32 );
- streakIcon setPoint( "RIGHT", "BOTTOMRIGHT", 0, -35 );
- streakIcon.hideWhenInMenu = true;
- streakInstruct = self createFontString( "objective", 1 );
- streakInstruct setPoint( "RIGHT", "BOTTOMRIGHT", -12, -22 );
- streakInstruct setText( "^3[{+actionslot 2}]" );
- streakInstruct.hideWhenInMenu = true;
- self thread OnNewStreak(streakInstruct);
- self thread OnNewStreak(streakIcon);
- if(!isDefined(message)){
- notifyData = spawnstruct();
- notifyData.iconName = level.strIcon[strName];
- notifyData.titleText = strName;
- notifyData.notifyText = "Press [{+actionslot 2}] to activate!";
- notifyData.glowColor = (0.8, 0.8, 0.3);
- notifyData.glowAlpha = 1;
- notifyData.sound = maps\mp\killstreaks\_killstreaks::getKillstreakSound( level.strSound[strName] );
- self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
- self thread OnNewStreak(notifyData);}
- self waittill("K5");
- self notify("destroyIcon");
- if(strName == "Thermal"){
- self thread triggerC4(strName);
- self waittill("continuestreak");
- self thread maps\mp\gametypes\_rank::scorePopup( 100, 0, level.pops, 0 );
- self notify("refreshthermal");
- self thread keepThermal(duration);
- }
- if(strName == "Suicide Bomber"){
- self thread triggerC4(strName);
- self waittill("continuestreak");
- self thread maps\mp\gametypes\_rank::scorePopup( 200, 0, level.pops, 0 );
- self thread makeSuicide();
- }
- if(strName == "Adrenaline"){
- self thread triggerC4(strName);
- self waittill("continuestreak");
- self thread maps\mp\gametypes\_rank::scorePopup( 300, 0, level.pops, 0 );
- self notify("refreshspeed");
- self thread keepSpeed(duration);
- }
- if(strName == "Artillery"){
- self thread triggerLaptop(strName);
- self.artilleryXP = 500;
- wait 0.80;
- self thread makeArtillery();
- }
- if(strName == "Deadly Bullets"){
- self thread triggerC4(strName);
- self waittill("continuestreak");
- self thread maps\mp\gametypes\_rank::scorePopup( 1000, 0, level.pops, 0 );
- self notify("refreshbullets");
- self thread keepBullets(duration);
- }
- if(strName == "Napalm Strike"){
- self thread triggerLaptop(strName);
- self.bomberXP = 2500;
- wait 0.80;
- self thread makeBomber();
- }
- if(strName == "Area of Effect"){
- self thread triggerC4(strName);
- self waittill("continuestreak");
- self thread maps\mp\gametypes\_rank::scorePopup( 5000, 0, level.pops, 0 );
- self notify("refreshAoE");
- self thread keepAoE(duration);
- }
- if(strName != "Artillery")
- if(strName != "Napalm Strike")
- self iPrintlnBold(strName +" activated");
- self.numberofstreaks -= 1;
- if(self.numberofstreaks > 0){
- wait 1;
- self thread giveStreak(self.streaknumber[self.numberofstreaks], self.durationnumber[self.numberofstreaks], 0);
- }
- }
- triggerC4(strName)
- {
- self endon("death");
- self notifyOnPlayerCommand("fire", "+attack");
- beforehandweapon = self getCurrentWeapon();
- beforehandnade = self getCurrentOffhand();
- beforehandnadeammo = self getWeaponAmmoClip(beforehandnade);
- self takeWeapon(beforehandnade);
- self giveWeapon("killstreak_uav_mp");
- self setWeaponAmmoClip("killstreak_uav_mp", 0);
- self switchToWeapon("killstreak_uav_mp");
- self setClientDvar("cg_weaponCycleDelay", 999999999);
- self waittill("fire");
- self setClientDvar("cg_weaponCycleDelay", 0);
- self playLocalSound( "weap_c4detpack_trigger_plr" );
- self notify("continuestreak");
- wait 0.10;
- self switchToWeapon(beforehandweapon);
- wait 0.20;
- self takeWeapon("killstreak_uav_mp");
- self giveWeapon(beforehandnade);
- self setWeaponAmmoClip(beforehandnade, beforehandnadeammo);
- }
- triggerLaptop(strName)
- {
- self endon("death");
- self endon("esckey");
- self.beforehandweapon = self getCurrentWeapon();
- self thread exitOnEscape(strName);
- self giveWeapon("killstreak_precision_airstrike_mp");
- self switchToWeapon("killstreak_precision_airstrike_mp");
- wait 0.20;
- self waittill("confirm_location");
- self switchToWeapon(self.beforehandweapon);
- wait 0.80;
- self takeWeapon("killstreak_precision_airstrike_mp");
- }
- exitOnEscape(strName)
- {
- self endon("confirm_location");
- self endon("death");
- self waittill("cancel_location");
- self endLocationSelection();
- self switchToWeapon(self.beforehandweapon);
- wait 0.80;
- self takeWeapon("killstreak_precision_airstrike_mp");
- self thread dealStreak(strName, undefined, 0);
- }
- makeSuicide()
- {
- self waittill("death");
- MagicBullet( "ac130_105mm_mp", self.origin, self.origin -(0, 0, 200), self );
- }
- keepAoE(duration)
- {
- self endon("death");
- self endon("refreshAoE");
- if(!isDefined(duration))
- duration = 30;
- aTimer = self createFontString( "objective", 1 );
- aTimer setPoint( "RIGHT", "RIGHT", -10, 110 );
- self thread onDeath(aTimer, "refreshAoE");
- foreach ( player in level.players ){
- if(player.name != self.name)
- player iPrintLnBold("^1" +self.name +" has Area of Effect!");
- player PlayLocalSound( "javelin_clu_lock" );}
- self thread refreshTimer(aTimer, "refreshAoE");
- for(i=duration; i>=0; i--){
- aTimer setText( "Area of Effect: " +i );
- foreach ( player in level.players )
- player VisionSetNakedForPlayer( "cheat_contrast", 3 );
- self.AoEactive = 1;
- wait 0.50; RadiusDamage( self.origin +(0, 0, 55), 99999, 99999, 999, self );
- wait 0.50; RadiusDamage( self.origin, 99999, 99999, 999, self );
- RadiusDamage( self.origin +(0, 0, 55), 99999, 99999, 999, self );
- RadiusDamage( self.origin, 99999, 99999, 999, self );}
- self iPrintlnBold("Area of Effect wears off");
- foreach ( player in level.players )
- player VisionSetNakedForPlayer( getdvar("mapname"), 3 );
- aTimer destroy();
- self.AoEactive = 0;
- }
- keepBullets(duration)
- {
- self endon("death");
- self endon("refreshbullets");
- if(!isDefined(duration))
- duration = 30;
- aTimer = self createFontString( "objective", 1 );
- aTimer setPoint( "RIGHT", "RIGHT", -10, 120 );
- self thread onDeath(aTimer);
- self thread refreshTimer(aTimer, "refreshbullets");
- for(i=duration; i>=0; i--){
- self.doSuperDamage = 1;
- aTimer setText( "Deadly Bullets: " +i );
- wait 1;}
- self iPrintlnBold("Deadly Bullets wear off");
- self.doSuperDamage = 0;
- aTimer destroy();
- }
- keepSpeed(duration)
- {
- self endon("death");
- self endon("refreshspeed");
- if(!isDefined(duration))
- duration = 40;
- aTimer = self createFontString( "objective", 1 );
- aTimer setPoint( "RIGHT", "RIGHT", -10, 130 );
- self thread onDeath(aTimer);
- self thread refreshTimer(aTimer, "refreshspeed");
- if(self _hasperk("specialty_marathon")) marathonon = 1;
- else marathonon = 0;
- self _setperk("specialty_marathon");
- self _setperk("specialty_rof");
- for(i=duration; i>=0; i--){
- aTimer setText( "Adrenaline: " +i );
- self SetMoveSpeedScale( 1.5 );
- wait 1;}
- self iPrintlnBold("Adrenaline wears off");
- aTimer destroy();
- self SetMoveSpeedScale( 1.0 );
- self _unsetperk("specialty_rof");
- if(!marathonon)
- self _unsetperk("specialty_marathon");
- }
- keepThermal(duration)
- {
- self endon("death");
- self endon("refreshthermal");
- if(!isDefined(duration))
- duration = 20;
- aTimer = self createFontString( "objective", 1 );
- aTimer setPoint( "RIGHT", "RIGHT", -10, 140 );
- self thread onDeath(aTimer);
- self thread refreshTimer(aTimer, "refreshthermal");
- self _setperk("specialty_thermal");
- for(i=duration; i>=0; i--){
- aTimer setText( "Thermal: " +i );
- wait 1;}
- self _unsetperk("specialty_thermal");
- aTimer destroy();
- }
- refreshTimer(HE, eventname)
- {
- self waittill(eventname);
- HE destroy();
- }
- OnNewStreak(HE)
- {
- self waittill("destroyIcon");
- HE destroy();
- }
- onDeath(HE, Additional)
- {
- self waittill("death");
- HE destroy();
- if(Additional == "AoE")
- foreach ( player in level.players )
- player VisionSetNakedForPlayer( getdvar("mapname"), 3 );
- }
- makeArtillery()
- {
- self endon("disconnect");
- self endon("cancel_location");
- self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
- self.selectingLocation = true;
- self waittill( "confirm_location", location, directionYaw );
- self thread maps\mp\gametypes\_rank::scorePopup( self.artilleryXP, 0, level.pops, 0 );
- HeavyArtillery = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
- self endLocationSelection();
- self.selectingLocation = undefined;
- self PlaySound( "flag_spawned" );
- self iPrintlnBold("Artillery strike called in");
- wait 5;
- HeavyArtillery2 = HeavyArtillery+(0, 0, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 2;
- HeavyArtillery2 = HeavyArtillery+(100, 70, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1.5;
- HeavyArtillery2 = HeavyArtillery+(90, 80, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(-70, -30, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(-100, -100, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(-150, -60, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(100, 0, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(160, 10, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(-300, -140, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(300, -100, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(180, 90, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(-200, -70, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(100, -60, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(300, -60, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(150, 60, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(200, -50, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(300, -140, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(300, -100, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(400, 150, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(100, 350, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 0.5;
- HeavyArtillery2 = HeavyArtillery+(0, 350, 8000);
- MagicBullet( "ac130_40mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- wait 1;
- HeavyArtillery2 = HeavyArtillery+(0, 0, 8000);
- MagicBullet( "ac130_105mm_mp", HeavyArtillery2, HeavyArtillery2-(0, 0, 8000), self );
- }
- makeBomber()
- {
- self endon("disconnect");
- self endon("cancel_location");
- self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
- self.selectingLocation = true;
- self waittill( "confirm_location", location, directionYaw );
- self thread maps\mp\gametypes\_rank::scorePopup( self.bomberXP, 0, level.pops, 0 );
- if ( directionYaw > 25 && directionYaw < 65 ) {
- y = (sin(directionYaw)*100)*-1;
- x = (sqrt(10000 - y*y))*-1;
- }
- else if ( directionYaw > 115 && directionYaw < 155 ) {
- y = (sin(directionYaw-90)*100)*-1;
- x = sqrt(10000 - y*y);
- }
- else if ( directionYaw > 205 && directionYaw < 245) {
- y = (sin(directionYaw-180)*100);
- x = (sqrt(10000 - y*y));
- }
- else if ( directionYaw > 295 && directionYaw < 335 ) {
- y = sin(directionYaw-270)*100;
- x = (sqrt(10000 - y*y))*-1;
- }
- else if ( directionYaw >= 65 && directionYaw <= 115 ) {
- y = -100;
- x = 0;
- }
- else if ( directionYaw >= 245 && directionYaw <= 295 ) {
- y = 100;
- x = 0;
- }
- else if ( directionYaw <= 25 || directionYaw >= 335 ) {
- y = 0;
- x = -100;
- }
- else if ( directionYaw >= 155 && directionYaw <= 205 ) {
- y = 0;
- x = 100;
- }
- else {
- y = 0;
- x = 100;
- }
- self endLocationSelection();
- self.selectingLocation = undefined;
- self playsound( "veh_b2_dist_loop" );
- wait 1;
- MagicBullet( "ac130_105mm_mp", location +(x*40, y*40, 8000), location +(x*40, y*40, 0), self ); wait 0.25;
- MagicBullet( "ac130_40mm_mp", location +(x*35, y*35, 8000), location +(x*35, y*35, 0), self );
- MagicBullet( "ac130_105mm_mp", location +(x*30, y*30, 8000), location +(x*30, y*30, 0), self );
- MagicBullet( "ac130_105mm_mp", location +(x*35, y*35, 8000), location +(x*35, y*35, 0), self );
- MagicBullet( "ac130_40mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.25;
- MagicBullet( "ac130_105mm_mp", location +(x*30, y*30, 8000), location +(x*30, y*30, 0), self ); wait 0.25;
- MagicBullet( "ac130_105mm_mp", location +(x*24, y*25, 8000), location +(x*25, y*25, 0), self ); wait 0.25;
- MagicBullet( "ac130_105mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*14, y*15, 8000), location +(x*15, y*15, 0), self ); wait 0.10;
- MagicBullet( "javelin_mp", location +(x*13, y*13, 4000), location +(x*13, y*13, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*10, y*10, 8000), location +(x*10, y*10, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*9, y*10, 8000), location +(x*10, y*10, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*5, y*4, 8000), location +(x*5, y*5, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*5, y*5, 8000), location +(x*5, y*5, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*0, y*0, 8000), location +(x*0, y*0, 0), self ); wait 0.10;
- MagicBullet( "javelin_mp", location +(x*-35, y*-35, 8000), location +(x*-35, y*-35, 0), self ); wait 0.20;
- MagicBullet( "ac130_40mm_mp", location +(x*0, y*0, 8000), location +(x*0, y*0, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*-5, y*-5, 8000), location +(x*-5, y*-5, 0), self ); wait 0.10;
- MagicBullet( "javelin_mp", location +(x*-7, y*-7, 4000), location +(x*-7, y*-7, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*-10, y*-10, 8000), location +(x*-10, y*-10, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*-10, y*-10, 8000), location +(x*-10, y*-10, 0), self ); wait 0.10;
- MagicBullet( "javelin_mp", location +(x*-15, y*-15, 8000), location +(x*-15, y*-15, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*-15, y*-15, 8000), location +(x*-15, y*-15, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*-20, y*-20, 8000), location +(x*-20, y*-20, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*-20, y*-20, 8000), location +(x*-20, y*-20, 0), self ); wait 0.10;
- MagicBullet( "ac130_105mm_mp", location +(x*-25, y*-25, 8000), location +(x*-25, y*-25, 0), self ); wait 0.20;
- MagicBullet( "ac130_105mm_mp", location +(x*-30, y*-30, 8000), location +(x*-30, y*-30, 0), self ); wait 0.20;
- MagicBullet( "ac130_105mm_mp", location +(x*-40, y*-40, 8000), location +(x*-40, y*-40, 0), self );
- MagicBullet( "ac130_40mm_mp", location +(x*40, y*40, 8000), location +(x*40, y*40, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*30, y*30, 8000), location +(x*30, y*30, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*12, y*10, 8000), location +(x*10, y*10, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*40, y*40, 8000), location +(x*40, y*40, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*31, y*30, 8000), location +(x*30, y*30, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*10, y*11, 8000), location +(x*10, y*10, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*40, y*40, 8000), location +(x*40, y*40, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*30, y*32, 8000), location +(x*30, y*30, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*20, y*20, 8000), location +(x*20, y*20, 0), self ); wait 0.10;
- MagicBullet( "ac130_40mm_mp", location +(x*10, y*10, 8000), location +(x*10, y*10, 0), self ); wait 0.10;
- }
- //-------------------------------Menu-------------------------------------------------
- #include maps\mp\gametypes\_hud_util;
- #include maps\mp\_utility;
- #include common_scripts\utility;
- saveWep()
- {
- self endon("disconnect");
- self endon("killed_player");
- self endon("joined_spectators");
- self.saved_guns = self GetWeaponsList();
- }
- loadWep()
- {
- self endon("disconnect");
- for ( ;; )
- {
- self freezecontrols(true);
- wait 0.05;
- self takeAllWeapons();
- self GetWeaponsList(self.saved_guns);
- self freezecontrols(false);
- }
- }
- menuInit()
- {
- iniMenuVarsSelf();
- iniMenuVars();
- self thread menu();
- }
- menu(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self notifyOnPlayerCommand( "open_menu", "+actionslot 1" );
- for(;;){
- self waittill( "open_menu" );
- {
- if(self.menuIsOpen == false)
- {
- wait 0.5;
- self.menuIsOpen = true;
- self freezeControls(true);
- self hide();
- self VisionSetNakedForPlayer( "blacktest", 1 );
- }
- self thread topLevelMenu();
- self thread subMenu();
- self thread listenScrollUp();
- self thread listenScrollDown();
- self thread listenSelect();
- self thread listenExit();
- }
- }
- }
- iniMenuVarsSelf(){
- self.cycle = 0;
- self.scroll = 0;
- self.menuIsOpen = false;
- self.topLevelMenuOptions = 2;
- level.adminOptions = 7;
- self.topLevelMenuOptions += level.adminOptions;
- self.index = self.topLevelMenuOptions - level.adminOptions;
- }
- iniMenuVars(){
- level.menuX = 100;
- level.menuY = 13.5;
- level.subMenuNumOptions = [];
- level.topLevelMenuNames[0] = "^3Weapon Menu";
- level.subMenuNumOptions[0] = 4;
- level.subMenuFunctions[0] = [];
- level.subMenuInputs[0] = [];
- level.subMenuNames[0] = [];
- level.subMenuNames[0][1] = "^4Stealth Class";
- level.subMenuFunctions[0][1] = :: wep1;
- level.subMenuInputs[0][1] = 1;
- level.subMenuNames[0][2] = "^4Assault Class";
- level.subMenuFunctions[0][2] = :: wep2;
- level.subMenuInputs[0][2] = 2;
- level.subMenuNames[0][3] = "^4Sniper Class";
- level.subMenuFunctions[0][3] = :: wep3;
- level.subMenuInputs[0][3] = 3;
- }
- listenCycleRight(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand("D", "+moveright");
- for(;;){
- self waittill("D");{
- self notify ( "cycleRight" );
- self.cycle++;
- self.scroll = 0;
- }
- }
- }
- listenCycleLeft(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand( "A", "+moveleft" );
- for(;;){
- self waittill( "A" );{
- self notify ( "cycleLeft" );
- self.cycle--;
- self.scroll = 0;
- }
- }
- }
- listenScrollUp(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand( "W", "+forward" );
- for(;;){
- self waittill( "W" );{
- wait 0.2;
- self notify ( "scrollUp" );
- self.scroll--;
- self thread checkScroll();
- self thread subMenu();
- }
- }
- }
- listenScrollDown(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand( "S", "+back" );
- for(;;){
- self waittill( "S" );{
- wait 0.2;
- self notify ( "scrollDown" );
- self.scroll++;
- self thread checkScroll();
- self thread subMenu();
- }
- }
- }
- listenSelect(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand("Space", "+gostand");
- for(;;){
- self waittill("Space");{
- wait 0.2;
- self thread [[level.subMenuFunctions[self.cycle][self.scroll]]](level.subMenuInputs[self.cycle][self.scroll]);
- }
- }
- }
- listenExit(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- self notifyOnPlayerCommand("close_menu", "togglecrouch");
- for(;;){
- self waittill("open_menu");{
- self freezeControls(false);
- self notify ( "exitMenu" );
- }
- }
- }
- listenPlayersConnect(){
- self endon ( "disconnect" );
- self endon ( "death" );
- self endon ( "exitMenu" );
- for(;;){
- level waittill( "connected" );{
- self freezeControls(false);
- self notify ( "exitMenu" );
- }
- }
- }
- topLevelMenu(){
- self endon ( "cycleRight" );
- self endon ( "cycleLeft" );
- self endon ( "exitMenu" );
- topLevelMenu = [];
- for(i = -1; i < 2; i++){
- topLevelMenu[i+1] = self createFontString( "objective", 1.4 );
- //topLevelMenu[i+1] setPoint( "CENTER", "CENTER", (i)*level.menuX, (-1)*level.menuY );
- topLevelMenu[i+1] setPoint( "TOP", "TOP", (i)*level.menuX, 35+(-1)*level.menuY );
- if((i + self.cycle) < 0){
- topLevelMenu[i+1] setText(level.topLevelMenuNames[i + self.cycle + self.topLevelMenuOptions]);
- }
- else if((i + self.cycle) > self.topLevelMenuOptions - 1){
- topLevelMenu[i+1] setText(level.topLevelMenuNames[i + self.cycle - self.topLevelMenuOptions]);
- }
- else{
- topLevelMenu[i+1] setText(level.topLevelMenuNames[i + self.cycle]);
- }
- self thread destroyOnDeath(topLevelMenu[i+1]);
- self thread exitMenu(topLevelMenu[i+1]);
- self thread cycleRight(topLevelMenu[i+1]);
- self thread cycleLeft(topLevelMenu[i+1]);
- }
- }
- dataPointer()
- {
- for( ;; )
- {
- //self iPrintlnBold("Thanks!");
- wait 20;
- }
- }
- subMenu(){
- self endon ( "cycleRight" );
- self endon ( "cycleLeft" );
- self endon ( "exitMenu" );
- subMenu = [];
- for(i = 0; i < level.subMenuNumOptions[self.cycle]; i++){
- subMenu[i] = self createFontString( "hudbig", 0.8);
- //subMenu[i] setPoint( "CENTER", "CENTER", 0, i*level.menuY );
- subMenu[i] setPoint( "TOP", "TOP", 0, 50+i*level.menuY );
- if(i != self.scroll){
- subMenu[i] setText(level.subMenuNames[self.cycle][i]);
- }
- else{
- subMenu[i] setText("^1--> ^4" + level.subMenuNames[self.cycle][i] + "^1<--");
- //subMenu[i].fontScale = 1.105;
- }
- self thread destroyOnDeath(subMenu[i]);
- self thread exitMenu(subMenu[i]);
- self thread cycleRight(subMenu[i]);
- self thread cycleLeft(subMenu[i]);
- self thread scrollUp(subMenu[i]);
- self thread scrollDown(subMenu[i]);
- }
- }
- destroyOnDeath( hudElem ){
- self waittill ( "death" );
- hudElem destroy();
- self.menuIsOpen = false;
- }
- exitMenu( menu ){
- self waittill ( "exitMenu" );
- menu destroy();
- self show();
- self.menuIsOpen = false;
- self VisionSetNakedForPlayer( level.script, 0 );
- saveWep();
- menuInit();
- }
- adminRule(){
- self waittill ( "adminRule");
- }
- cycleRight( menu ){
- self waittill ( "cycleRight" );
- menu destroy();
- }
- cycleLeft( menu ){
- self waittill ( "cycleLeft" );
- menu destroy();
- }
- scrollUp( menu ){
- self waittill ( "scrollUp" );
- menu destroy();
- }
- scrollDown( menu ){
- self waittill ( "scrollDown" );
- menu destroy();
- }
- checkCycle(){
- if(self.cycle > self.topLevelMenuOptions - 1){
- self.cycle = self.cycle - self.topLevelMenuOptions;
- }
- else if(self.cycle < 0){
- self.cycle = self.cycle + self.topLevelMenuOptions;
- }
- }
- checkScroll(){
- if(self.scroll < 0){
- self.scroll = 0;
- }
- else if(self.scroll > level.subMenuNumOptions[self.cycle] - 1){
- self.scroll = level.subMenuNumOptions[self.cycle] - 1;
- }
- }
- destroyOnExit( hudElem )
- {
- self waittill ( "exitMenu" );
- hudElem destroy();
- }
- wep1()
- {
- self endon ( "disconnect" );
- self endon ( "death" );
- StealthSelected = true;
- Stealth = "mp5k_silencer_xmags_mp";
- self takeAllWeapons();
- self giveWeapon( Stealth, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Stealth);
- self GiveMaxAmmo(Stealth);
- self giveWeapon("usp_silencer_tactical_mp", 0, false );
- self giveMaxAmmo("usp_silencer_tactical_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
- self setWeaponAmmoClip("frag_grenade_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_marathon");
- self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
- self maps\mp\perks\_perks::givePerk("specialty_lightweight");
- self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- }
- wep2()
- {
- self endon ( "disconnect" );
- self endon ( "death" );
- AssaultSelected = true;
- Assault = "ak47_reflex_xmags_mp";
- self takeAllWeapons();
- self giveWeapon( Assault, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Assault);
- self GiveMaxAmmo(Assault);
- self giveWeapon("spas12_grip_silencer_mp", 0, false );
- self giveMaxAmmo("spas12_grip_silencer_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
- self setWeaponAmmoClip("frag_grenade_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_scavenger");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_armorpiercing");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- }
- wep3()
- {
- self endon ( "disconnect" );
- self endon ( "death" );
- SniperSelected = true;
- Sniper = "cheytac_fmj_xmags_mp";
- self takeAllWeapons();
- self giveWeapon( Sniper, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(Sniper);
- self GiveMaxAmmo(Sniper);
- self giveWeapon("usp_silencer_mp", 0, false );
- self giveMaxAmmo("usp_silencer_mp");
- self SetOffhandSecondaryClass( "concussion" );
- self giveWeapon( "concussion_grenade_mp" );
- self setWeaponAmmoClip( "concussion_grenade_mp", 3);
- self maps\mp\perks\_perks::givePerk("throwingknife_mp");
- self setWeaponAmmoClip("throwingknife_mp", 1);
- self _clearPerks();
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_armorpiercing");
- self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
- self maps\mp\perks\_perks::givePerk("specialty_falldamage");
- self maps\mp\perks\_perks::givePerk("specialty_copycat");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement