Post: AC130 for multiplayer
07-01-2011, 11:12 PM #1
.Kane.
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Heres the AC130 for multiplayer. It hasn't been posted so here. This is from Eddie Meduzas patch.

    
AC130(){
self endon("death");
self takeallweapons();
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");
self setClientDvar("cg_drawGun","0");
self setClientDvar("cg_drawCrosshair","0");
self setClientDvar("g_gravity","1");
self setClientDvar("player_sustainAmmo","1");
self.maxhealth = 90000;
self.health = self.maxhealth;
visionSetNaked( "kamikaze", 0.2 );
wait 0.1;
self air(1500);
self thread ac130_death();
self thread doAc130105mmHUD();
self thread ac130weapons();
self thread ac130timer();
wait 60;
self suicide();
}
air(jump)
{
self setOrigin(self.origin+(0,0,jump));
}
ac130_death(){
self waittill("death");
self notify("DESTROY");
self notify("DELETE");
self notify("NULL");
self setClientDvar("cg_drawGun","1");
self setClientDvar("cg_drawCrosshair","1");
self setClientDvar("g_gravity","0");
self setClientDvar("player_sustainAmmo","0");
visionSetNaked( "default", 0.2 );
self.maxhealth = 100;
self.health = self.maxhealth;
}
doAc130105mmHUD()
{
self thread ac130boxleftvert();
self thread ac130boxrightvert();
self thread ac130boxtophorz();
self thread ac130boxbottomhorz();
self thread ac130topline();
self thread ac130bottomline();
self thread ac130leftline();
self thread ac130rightline();
self thread ac130topleftleft();
self thread ac130toplefttop();
self thread ac130toprightright();
self thread ac130toprighttop();
self thread ac130bottomleftleft();
self thread ac130bottomleftbottom();
self thread ac130bottomrightright();
self thread ac130bottomrightbottom();
}

ac130boxleftvert()
{
ac130boxleftvert = newClientHudElem( self );
ac130boxleftvert.x = -30;
ac130boxleftvert.y = 0;
ac130boxleftvert.alignX = "center";
ac130boxleftvert.alignY = "middle";
ac130boxleftvert.horzAlign = "center";
ac130boxleftvert.vertAlign = "middle";
ac130boxleftvert.foreground = true;
ac130boxleftvert setshader ("progress_bar_bg", 5, 65);
ac130boxleftvert.alpha = 1;
self waittill ("DESTROY");
ac130boxleftvert destroy();
}

ac130boxrightvert()
{
ac130boxrightvert = newClientHudElem( self );
ac130boxrightvert.x = 30;
ac130boxrightvert.y = 0;
ac130boxrightvert.alignX = "center";
ac130boxrightvert.alignY = "middle";
ac130boxrightvert.horzAlign = "center";
ac130boxrightvert.vertAlign = "middle";
ac130boxrightvert.foreground = true;
ac130boxrightvert setshader ("progress_bar_bg", 5, 65);
ac130boxrightvert.alpha = 1;
self waittill ("DESTROY");
ac130boxrightvert destroy();
}

ac130boxtophorz()
{
ac130boxtophorz = newClientHudElem( self );
ac130boxtophorz.x = 0;
ac130boxtophorz.y = -25;
ac130boxtophorz.alignX = "center";
ac130boxtophorz.alignY = "middle";
ac130boxtophorz.horzAlign = "center";
ac130boxtophorz.vertAlign = "middle";
ac130boxtophorz.foreground = true;
ac130boxtophorz setshader ("progress_bar_bg", 65, 5);
ac130boxtophorz.alpha = 1;
self waittill ("DESTROY");
ac130boxtophorz destroy();
}

ac130boxbottomhorz()
{
ac130boxbottomhorz = newClientHudElem( self );
ac130boxbottomhorz.x = 0;
ac130boxbottomhorz.y = 25;
ac130boxbottomhorz.alignX = "center";
ac130boxbottomhorz.alignY = "middle";
ac130boxbottomhorz.horzAlign = "center";
ac130boxbottomhorz.vertAlign = "middle";
ac130boxbottomhorz.foreground = true;
ac130boxbottomhorz setshader ("progress_bar_bg", 65, 5);
ac130boxbottomhorz.alpha = 1;
self waittill ("DESTROY");
ac130boxbottomhorz destroy();
}

ac130topline()
{
ac130topline = newClientHudElem( self );
ac130topline.x = 0;
ac130topline.y = -50;
ac130topline.alignX = "center";
ac130topline.alignY = "middle";
ac130topline.horzAlign = "center";
ac130topline.vertAlign = "middle";
ac130topline.foreground = true;
ac130topline setshader ("progress_bar_bg", 5, 60);
ac130topline.alpha = 1;
self waittill ("DESTROY");
ac130topline destroy();
}

ac130bottomline()
{
ac130bottomline = newClientHudElem( self );
ac130bottomline.x = 0;
ac130bottomline.y = 50;
ac130bottomline.alignX = "center";
ac130bottomline.alignY = "middle";
ac130bottomline.horzAlign = "center";
ac130bottomline.vertAlign = "middle";
ac130bottomline.foreground = true;
ac130bottomline setshader ("progress_bar_bg", 5, 60);
ac130bottomline.alpha = 1;
self waittill ("DESTROY");
ac130bottomline destroy();
}

ac130leftline()
{
ac130leftline = newClientHudElem( self );
ac130leftline.x = -64.5;
ac130leftline.y = 0;
ac130leftline.alignX = "center";
ac130leftline.alignY = "middle";
ac130leftline.horzAlign = "center";
ac130leftline.vertAlign = "middle";
ac130leftline.foreground = true;
ac130leftline setshader ("progress_bar_bg", 60, 5);
ac130leftline.alpha = 1;
self waittill ("DESTROY");
ac130leftline destroy();
}

ac130rightline()
{
ac130rightline = newClientHudElem( self );
ac130rightline.x = 64;
ac130rightline.y = 0;
ac130rightline.alignX = "center";
ac130rightline.alignY = "middle";
ac130rightline.horzAlign = "center";
ac130rightline.vertAlign = "middle";
ac130rightline.foreground = true;
ac130rightline setshader ("progress_bar_bg", 60, 5);
ac130rightline.alpha = 1;
self waittill ("DESTROY");
ac130rightline destroy();
}

ac130topleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -125;
ac130topll.y = -87;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("DESTROY");
ac130topll destroy();
}

ac130toplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -110;
ac130toplt.y = -100;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("DESTROY");
ac130toplt destroy();
}

ac130toprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 125;
ac130toprr.y = -87;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("DESTROY");
ac130toprr destroy();
}

ac130toprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 110;
ac130toprt.y = -100;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("DESTROY");
ac130toprt destroy();
}

ac130bottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -125;
ac130bottomll.y = 87;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("DESTROY");
ac130bottomll destroy();
}

ac130bottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -110;
ac130bottomlb.y = 100;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("DESTROY");
ac130bottomlb destroy();
}

ac130bottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 125;
ac130bottomrr.y = 87;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("DESTROY");
ac130bottomrr destroy();
}

ac130bottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 110;
ac130bottomrb.y = 100;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("DESTROY");
ac130bottomrb destroy();
}

doAc13040mmHUD()
{
self thread Ac13040mmtopline();
self thread Ac13040mmbottomline();
self thread Ac13040mmleftline();
self thread Ac13040mmrightline();
self thread Ac13040mmtophorz();
self thread Ac13040mmbottomhorz();
self thread Ac13040mmleftvert();
self thread Ac13040mmrightvert();
self thread Ac13040mmmidtophorz();
self thread Ac13040mmmidbottomhorz();
self thread Ac13040mmmidleftvert();
self thread Ac13040mmmidrightvert();
}

Ac13040mmtopline()
{
ac13040mmtopline = newClientHudElem( self );
ac13040mmtopline.x = 0;
ac13040mmtopline.y = -70;
ac13040mmtopline.alignX = "center";
ac13040mmtopline.alignY = "middle";
ac13040mmtopline.horzAlign = "center";
ac13040mmtopline.vertAlign = "middle";
ac13040mmtopline.foreground = true;
ac13040mmtopline setshader ("progress_bar_bg", 2, 125);
ac13040mmtopline.alpha = 1;
self waittill ("DELETE");
ac13040mmtopline destroy();
}

Ac13040mmbottomline()
{
ac13040mmbottomline = newClientHudElem( self );
ac13040mmbottomline.x = 0;
ac13040mmbottomline.y = 70;
ac13040mmbottomline.alignX = "center";
ac13040mmbottomline.alignY = "middle";
ac13040mmbottomline.horzAlign = "center";
ac13040mmbottomline.vertAlign = "middle";
ac13040mmbottomline.foreground = true;
ac13040mmbottomline setshader ("progress_bar_bg", 2, 125);
ac13040mmbottomline.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomline destroy();
}

Ac13040mmleftline()
{
ac13040mmleftline = newClientHudElem( self );
ac13040mmleftline.x = -85;
ac13040mmleftline.y = 0;
ac13040mmleftline.alignX = "center";
ac13040mmleftline.alignY = "middle";
ac13040mmleftline.horzAlign = "center";
ac13040mmleftline.vertAlign = "middle";
ac13040mmleftline.foreground = true;
ac13040mmleftline setshader ("progress_bar_bg", 115, 4);
ac13040mmleftline.alpha = 1;
self waittill ("DELETE");
ac13040mmleftline destroy();
}

Ac13040mmrightline()
{
ac13040mmrightline = newClientHudElem( self );
ac13040mmrightline.x = 85;
ac13040mmrightline.y = 0;
ac13040mmrightline.alignX = "center";
ac13040mmrightline.alignY = "middle";
ac13040mmrightline.horzAlign = "center";
ac13040mmrightline.vertAlign = "middle";
ac13040mmrightline.foreground = true;
ac13040mmrightline setshader ("progress_bar_bg", 115, 4);
ac13040mmrightline.alpha = 1;
self waittill ("DELETE");
ac13040mmrightline destroy();
}

Ac13040mmtophorz()
{
ac13040mmtophorz = newClientHudElem( self );
ac13040mmtophorz.x = 0;
ac13040mmtophorz.y = -118;
ac13040mmtophorz.alignX = "center";
ac13040mmtophorz.alignY = "middle";
ac13040mmtophorz.horzAlign = "center";
ac13040mmtophorz.vertAlign = "middle";
ac13040mmtophorz.foreground = true;
ac13040mmtophorz setshader ("progress_bar_bg", 30, 3);
ac13040mmtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmtophorz destroy();
}

Ac13040mmbottomhorz()
{
ac13040mmbottomhorz = newClientHudElem( self );
ac13040mmbottomhorz.x = 0;
ac13040mmbottomhorz.y = 118;
ac13040mmbottomhorz.alignX = "center";
ac13040mmbottomhorz.alignY = "middle";
ac13040mmbottomhorz.horzAlign = "center";
ac13040mmbottomhorz.vertAlign = "middle";
ac13040mmbottomhorz.foreground = true;
ac13040mmbottomhorz setshader ("progress_bar_bg", 30, 3);
ac13040mmbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomhorz destroy();
}

Ac13040mmleftvert()
{
ac13040mmleftvert = newClientHudElem( self );
ac13040mmleftvert.x = -142;
ac13040mmleftvert.y = 0;
ac13040mmleftvert.alignX = "center";
ac13040mmleftvert.alignY = "middle";
ac13040mmleftvert.horzAlign = "center";
ac13040mmleftvert.vertAlign = "middle";
ac13040mmleftvert.foreground = true;
ac13040mmleftvert setshader ("progress_bar_bg", 3, 30);
ac13040mmleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmleftvert destroy();
}

Ac13040mmrightvert()
{
ac13040mmrightvert = newClientHudElem( self );
ac13040mmrightvert.x = 142;
ac13040mmrightvert.y = 0;
ac13040mmrightvert.alignX = "center";
ac13040mmrightvert.alignY = "middle";
ac13040mmrightvert.horzAlign = "center";
ac13040mmrightvert.vertAlign = "middle";
ac13040mmrightvert.foreground = true;
ac13040mmrightvert setshader ("progress_bar_bg", 3, 30);
ac13040mmrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmrightvert destroy();
}

Ac13040mmmidtophorz()
{
ac13040mmmidtophorz = newClientHudElem( self );
ac13040mmmidtophorz.x = 0;
ac13040mmmidtophorz.y = -69;
ac13040mmmidtophorz.alignX = "center";
ac13040mmmidtophorz.alignY = "middle";
ac13040mmmidtophorz.horzAlign = "center";
ac13040mmmidtophorz.vertAlign = "middle";
ac13040mmmidtophorz.foreground = true;
ac13040mmmidtophorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidtophorz destroy();
}

Ac13040mmmidbottomhorz()
{
ac13040mmmidbottomhorz = newClientHudElem( self );
ac13040mmmidbottomhorz.x = 0;
ac13040mmmidbottomhorz.y = 69;
ac13040mmmidbottomhorz.alignX = "center";
ac13040mmmidbottomhorz.alignY = "middle";
ac13040mmmidbottomhorz.horzAlign = "center";
ac13040mmmidbottomhorz.vertAlign = "middle";
ac13040mmmidbottomhorz.foreground = true;
ac13040mmmidbottomhorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidbottomhorz destroy();
}

Ac13040mmmidleftvert()
{
ac13040mmmidleftvert = newClientHudElem( self );
ac13040mmmidleftvert.x = -81;
ac13040mmmidleftvert.y = 0;
ac13040mmmidleftvert.alignX = "center";
ac13040mmmidleftvert.alignY = "middle";
ac13040mmmidleftvert.horzAlign = "center";
ac13040mmmidleftvert.vertAlign = "middle";
ac13040mmmidleftvert.foreground = true;
ac13040mmmidleftvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidleftvert destroy();
}

Ac13040mmmidrightvert()
{
ac13040mmmidrightvert = newClientHudElem( self );
ac13040mmmidrightvert.x = 81;
ac13040mmmidrightvert.y = 0;
ac13040mmmidrightvert.alignX = "center";
ac13040mmmidrightvert.alignY = "middle";
ac13040mmmidrightvert.horzAlign = "center";
ac13040mmmidrightvert.vertAlign = "middle";
ac13040mmmidrightvert.foreground = true;
ac13040mmmidrightvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidrightvert destroy();
}

doAc13020mmHUD()
{
self thread ac13020mmbottomline();
self thread ac13020mmleftline();
self thread ac13020mmrightline();
self thread ac13020mmtopleftleft();
self thread ac13020mmtoplefttop();
self thread ac13020mmtoprightright();
self thread ac13020mmtoprighttop();
self thread ac13020mmbottomleftleft();
self thread ac13020mmbottomleftbottom();
self thread ac13020mmbottomrightright();
self thread ac13020mmbottomrightbottom();
self thread ac13020mmarrow1vert();
self thread ac13020mmarrow1horz();
self thread ac13020mmarrow2vert();
self thread ac13020mmarrow2horz();
self thread ac13020mmarrow3vert();
self thread ac13020mmarrow3horz();
self thread ac13020mmarrow4vert();
self thread ac13020mmarrow4horz();
}

ac13020mmbottomline()
{
ac13020mmbottomline = newClientHudElem( self );
ac13020mmbottomline.x = 0;
ac13020mmbottomline.y = 20;
ac13020mmbottomline.alignX = "center";
ac13020mmbottomline.alignY = "middle";
ac13020mmbottomline.horzAlign = "center";
ac13020mmbottomline.vertAlign = "middle";
ac13020mmbottomline.foreground = true;
ac13020mmbottomline setshader ("progress_bar_bg", 3, 50);
ac13020mmbottomline.alpha = 1;
self waittill ("NULL");
ac13020mmbottomline destroy();
}

ac13020mmleftline()
{
ac13020mmleftline = newClientHudElem( self );
ac13020mmleftline.x = -25;
ac13020mmleftline.y = 0;
ac13020mmleftline.alignX = "center";
ac13020mmleftline.alignY = "middle";
ac13020mmleftline.horzAlign = "center";
ac13020mmleftline.vertAlign = "middle";
ac13020mmleftline.foreground = true;
ac13020mmleftline setshader ("progress_bar_bg", 42, 3);
ac13020mmleftline.alpha = 1;
self waittill ("NULL");
ac13020mmleftline destroy();
}

ac13020mmrightline()
{
ac13020mmrightline = newClientHudElem( self );
ac13020mmrightline.x = 25;
ac13020mmrightline.y = 0;
ac13020mmrightline.alignX = "center";
ac13020mmrightline.alignY = "middle";
ac13020mmrightline.horzAlign = "center";
ac13020mmrightline.vertAlign = "middle";
ac13020mmrightline.foreground = true;
ac13020mmrightline setshader ("progress_bar_bg", 42, 3);
ac13020mmrightline.alpha = 1;
self waittill ("NULL");
ac13020mmrightline destroy();
}

ac13020mmtopleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -75;
ac130topll.y = -47;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("NULL");
ac130topll destroy();
}

ac13020mmtoplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -60;
ac130toplt.y = -60;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("NULL");
ac130toplt destroy();
}

ac13020mmtoprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 75;
ac130toprr.y = -47;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("NULL");
ac130toprr destroy();
}

ac13020mmtoprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 60;
ac130toprt.y = -60;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("NULL");
ac130toprt destroy();
}

ac13020mmbottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -75;
ac130bottomll.y = 47;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("NULL");
ac130bottomll destroy();
}

ac13020mmbottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -60;
ac130bottomlb.y = 60;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("NULL");
ac130bottomlb destroy();
}

ac13020mmbottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 75;
ac130bottomrr.y = 47;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("NULL");
ac130bottomrr destroy();
}

ac13020mmbottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 60;
ac130bottomrb.y = 60;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("NULL");
ac130bottomrb destroy();
}

ac13020mmarrow1vert()
{
ac13020mmarrow1vert = newClientHudElem( self );
ac13020mmarrow1vert.x = 10;
ac13020mmarrow1vert.y = 12;
ac13020mmarrow1vert.alignX = "center";
ac13020mmarrow1vert.alignY = "middle";
ac13020mmarrow1vert.horzAlign = "center";
ac13020mmarrow1vert.vertAlign = "middle";
ac13020mmarrow1vert.foreground = true;
ac13020mmarrow1vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow1vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1vert destroy();
}

ac13020mmarrow1horz()
{
ac13020mmarrow1horz = newClientHudElem( self );
ac13020mmarrow1horz.x = 15;
ac13020mmarrow1horz.y = 8;
ac13020mmarrow1horz.alignX = "center";
ac13020mmarrow1horz.alignY = "middle";
ac13020mmarrow1horz.horzAlign = "center";
ac13020mmarrow1horz.vertAlign = "middle";
ac13020mmarrow1horz.foreground = true;
ac13020mmarrow1horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow1horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1horz destroy();
}

ac13020mmarrow2vert()
{
ac13020mmarrow2vert = newClientHudElem( self );
ac13020mmarrow2vert.x = 15;
ac13020mmarrow2vert.y = 17;
ac13020mmarrow2vert.alignX = "center";
ac13020mmarrow2vert.alignY = "middle";
ac13020mmarrow2vert.horzAlign = "center";
ac13020mmarrow2vert.vertAlign = "middle";
ac13020mmarrow2vert.foreground = true;
ac13020mmarrow2vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow2vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2vert destroy();
}

ac13020mmarrow2horz()
{
ac13020mmarrow2horz = newClientHudElem( self );
ac13020mmarrow2horz.x = 20;
ac13020mmarrow2horz.y = 13;
ac13020mmarrow2horz.alignX = "center";
ac13020mmarrow2horz.alignY = "middle";
ac13020mmarrow2horz.horzAlign = "center";
ac13020mmarrow2horz.vertAlign = "middle";
ac13020mmarrow2horz.foreground = true;
ac13020mmarrow2horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow2horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2horz destroy();
}

ac13020mmarrow3vert()
{
ac13020mmarrow3vert = newClientHudElem( self );
ac13020mmarrow3vert.x = 20;
ac13020mmarrow3vert.y = 22;
ac13020mmarrow3vert.alignX = "center";
ac13020mmarrow3vert.alignY = "middle";
ac13020mmarrow3vert.horzAlign = "center";
ac13020mmarrow3vert.vertAlign = "middle";
ac13020mmarrow3vert.foreground = true;
ac13020mmarrow3vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow3vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3vert destroy();
}

ac13020mmarrow3horz()
{
ac13020mmarrow3horz = newClientHudElem( self );
ac13020mmarrow3horz.x = 25;
ac13020mmarrow3horz.y = 18;
ac13020mmarrow3horz.alignX = "center";
ac13020mmarrow3horz.alignY = "middle";
ac13020mmarrow3horz.horzAlign = "center";
ac13020mmarrow3horz.vertAlign = "middle";
ac13020mmarrow3horz.foreground = true;
ac13020mmarrow3horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow3horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3horz destroy();
}

ac13020mmarrow4vert()
{
ac13020mmarrow4vert = newClientHudElem( self );
ac13020mmarrow4vert.x = 25;
ac13020mmarrow4vert.y = 27;
ac13020mmarrow4vert.alignX = "center";
ac13020mmarrow4vert.alignY = "middle";
ac13020mmarrow4vert.horzAlign = "center";
ac13020mmarrow4vert.vertAlign = "middle";
ac13020mmarrow4vert.foreground = true;
ac13020mmarrow4vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow4vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4vert destroy();
}

ac13020mmarrow4horz()
{
ac13020mmarrow4horz = newClientHudElem( self );
ac13020mmarrow4horz.x = 30;
ac13020mmarrow4horz.y = 23;
ac13020mmarrow4horz.alignX = "center";
ac13020mmarrow4horz.alignY = "middle";
ac13020mmarrow4horz.horzAlign = "center";
ac13020mmarrow4horz.vertAlign = "middle";
ac13020mmarrow4horz.foreground = true;
ac13020mmarrow4horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow4horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4horz destroy();
}

ac130weapons()
{
self endon("death");
for(;Winky Winky
{
self.ac130weapon = "1";
if(self.ac130weapon == 1)
{
self thread ac130105mm();
self thread doAc130105mmHUD();
self notify("NULL");
}
wait 1;
self waittill("Pressed_Square");
self.ac130weapon = "2";
if(self.ac130weapon == 2)
{
self thread ac13040mm();
self thread doAc13040mmHUD();
self notify("DESTROY");
}
wait 1;
self waittill("Pressed_Square");
self.ac130weapon = "3";
if(self.ac130weapon == 3)
{
self thread ac13020mm();
self thread doAc13020mmHUD();
self notify("DELETE");
}
wait 2;
self waittill("Pressed_Square");
}
}

ac130105mm()
{
self endon ("death");
self.ac130weapon = "1";
self thread Notify_Mods("^5105mm Cannon Ready For Action!");
self takeallweapons();
self giveWeapon( "30cal_mp" );
self switchToWeapon( "30cal_mp" );
while(1)
{
if(self.ac130weapon == "1")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13040mm()
{
self endon ("death");
self.ac130weapon = "2";
self thread Notify_Mods("^340mm Cannon Ready For Action!");
while(1)
{
if(self.ac130weapon == "2")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13020mm()
{
self endon("death");
self.ac130weapon = "3";
self thread Notify_Mods("^220mm Gun Ready For Action!");
self takeallweapons();
self giveWeapon( "fg42_mp" );
self switchToWeapon( "fg42_mp" );
}
ac130timer( duration )
{
level.HUDItem[ "timer" ] = newClientHudElem( self );
level.HUDItem[ "timer" ].x = -100;
level.HUDItem[ "timer" ].y = 50;
level.HUDItem[ "timer" ].alignX = "right";
level.HUDItem[ "timer" ].alignY = "bottom";
level.HUDItem[ "timer" ].horzAlign = "right";
level.HUDItem[ "timer" ].vertAlign = "bottom";
level.HUDItem[ "timer" ].font = "objective";
level.HUDItem[ "timer" ].fontScale = 2.5;
level.HUDItem[ "timer" ] setTimer( 60.0 );
level.HUDItem[ "timer" ].alpha = 1.0;
level.HUDItem[ "timer" ] setTimer( duration );
self waittill( "death" );
level.HUDItem[ "timer" ] destroy();
}

Notify_Mods( msg ){
notifier = createFontString( "default", 1.3, self );
notifier setPoint( "BOTTOM RIGHT", "BOTTOM RIGHT", -5, -35 );
notifier SetText( msg + "");wait 1;
notifier SetText("");}


Optimized version
    
AC130(){self endon("death");self takeallweapons();self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");self setClientDvar("cg_drawGun","0");self setClientDvar("cg_drawCrosshair","0");self setClientDvar("g_gravity","1");self setClientDvar("player_sustainAmmo","1");self.maxhealth=90000;self.health=self.maxhealth;visionSetNaked("kamikaze",0.2);wait 0.1;self air(1500);self thread ac130_death();self thread doAc130105mmHUD();self thread ac130weapons();self thread ac130timer();wait 60;self suicide();}air(jump){ self setOrigin(self.origin+(0,0,jump));}ac130_death(){self waittill("death");self notify("DESTROY");self notify("DELETE");self notify("NULL");self setClientDvar("cg_drawGun","1");self setClientDvar("cg_drawCrosshair","1");self setClientDvar("g_gravity","0");self setClientDvar("player_sustainAmmo","0");visionSetNaked("default",0.2);self.maxhealth=100;self.health=self.maxhealth;}doAc130105mmHUD(){ self thread ac130boxleftvert(); self thread ac130boxrightvert(); self thread ac130boxtophorz(); self thread ac130boxbottomhorz(); self thread ac130topline(); self thread ac130bottomline(); self thread ac130leftline(); self thread ac130rightline(); self thread ac130topleftleft(); self thread ac130toplefttop(); self thread ac130toprightright(); self thread ac130toprighttop(); self thread ac130bottomleftleft(); self thread ac130bottomleftbottom(); self thread ac130bottomrightright(); self thread ac130bottomrightbottom();}ac130boxleftvert(){ ac130boxleftvert=newClientHudElem(self); ac130boxleftvert.x=-30; ac130boxleftvert.y=0; ac130boxleftvert.alignX="center"; ac130boxleftvert.alignY="middle"; ac130boxleftvert.horzAlign="center"; ac130boxleftvert.vertAlign="middle"; ac130boxleftvert.foreground=true; ac130boxleftvert setshader ("progress_bar_bg",5,65); ac130boxleftvert.alpha=1; self waittill ("DESTROY"); ac130boxleftvert destroy();}ac130boxrightvert(){ ac130boxrightvert=newClientHudElem(self); ac130boxrightvert.x=30; ac130boxrightvert.y=0; ac130boxrightvert.alignX="center"; ac130boxrightvert.alignY="middle"; ac130boxrightvert.horzAlign="center"; ac130boxrightvert.vertAlign="middle"; ac130boxrightvert.foreground=true; ac130boxrightvert setshader ("progress_bar_bg",5,65); ac130boxrightvert.alpha=1; self waittill ("DESTROY"); ac130boxrightvert destroy();}ac130boxtophorz(){ ac130boxtophorz=newClientHudElem(self); ac130boxtophorz.x=0; ac130boxtophorz.y=-25; ac130boxtophorz.alignX="center"; ac130boxtophorz.alignY="middle"; ac130boxtophorz.horzAlign="center"; ac130boxtophorz.vertAlign="middle"; ac130boxtophorz.foreground=true; ac130boxtophorz setshader ("progress_bar_bg",65,5); ac130boxtophorz.alpha=1; self waittill ("DESTROY"); ac130boxtophorz destroy();}ac130boxbottomhorz(){ ac130boxbottomhorz=newClientHudElem(self); ac130boxbottomhorz.x=0; ac130boxbottomhorz.y=25; ac130boxbottomhorz.alignX="center"; ac130boxbottomhorz.alignY="middle"; ac130boxbottomhorz.horzAlign="center"; ac130boxbottomhorz.vertAlign="middle"; ac130boxbottomhorz.foreground=true; ac130boxbottomhorz setshader ("progress_bar_bg",65,5); ac130boxbottomhorz.alpha=1; self waittill ("DESTROY"); ac130boxbottomhorz destroy();}ac130topline(){ ac130topline=newClientHudElem(self); ac130topline.x=0; ac130topline.y=-50; ac130topline.alignX="center"; ac130topline.alignY="middle"; ac130topline.horzAlign="center"; ac130topline.vertAlign="middle"; ac130topline.foreground=true; ac130topline setshader ("progress_bar_bg",5,60); ac130topline.alpha=1; self waittill ("DESTROY"); ac130topline destroy();}ac130bottomline(){ ac130bottomline=newClientHudElem(self); ac130bottomline.x=0; ac130bottomline.y=50; ac130bottomline.alignX="center"; ac130bottomline.alignY="middle"; ac130bottomline.horzAlign="center"; ac130bottomline.vertAlign="middle"; ac130bottomline.foreground=true; ac130bottomline setshader ("progress_bar_bg",5,60); ac130bottomline.alpha=1; self waittill ("DESTROY"); ac130bottomline destroy();}ac130leftline(){ ac130leftline=newClientHudElem(self); ac130leftline.x=-64.5; ac130leftline.y=0; ac130leftline.alignX="center"; ac130leftline.alignY="middle"; ac130leftline.horzAlign="center"; ac130leftline.vertAlign="middle"; ac130leftline.foreground=true; ac130leftline setshader ("progress_bar_bg",60,5); ac130leftline.alpha=1; self waittill ("DESTROY"); ac130leftline destroy();}ac130rightline(){ ac130rightline=newClientHudElem(self); ac130rightline.x=64; ac130rightline.y=0; ac130rightline.alignX="center"; ac130rightline.alignY="middle"; ac130rightline.horzAlign="center"; ac130rightline.vertAlign="middle"; ac130rightline.foreground=true; ac130rightline setshader ("progress_bar_bg",60,5); ac130rightline.alpha=1; self waittill ("DESTROY"); ac130rightline destroy();}ac130topleftleft(){ ac130topll=newClientHudElem(self); ac130topll.x=-125; ac130topll.y=-87; ac130topll.alignX="center"; ac130topll.alignY="middle"; ac130topll.horzAlign="center"; ac130topll.vertAlign="middle"; ac130topll.foreground=true; ac130topll setshader ("progress_bar_bg",5,35); ac130topll.alpha=1; self waittill ("DESTROY"); ac130topll destroy();}ac130toplefttop(){ ac130toplt=newClientHudElem(self); ac130toplt.x=-110; ac130toplt.y=-100; ac130toplt.alignX="center"; ac130toplt.alignY="middle"; ac130toplt.horzAlign="center"; ac130toplt.vertAlign="middle"; ac130toplt.foreground=true; ac130toplt setshader ("progress_bar_bg",35,5); ac130toplt.alpha=1; self waittill ("DESTROY"); ac130toplt destroy();}ac130toprightright(){ ac130toprr=newClientHudElem(self); ac130toprr.x=125; ac130toprr.y=-87; ac130toprr.alignX="center"; ac130toprr.alignY="middle"; ac130toprr.horzAlign="center"; ac130toprr.vertAlign="middle"; ac130toprr.foreground=true; ac130toprr setshader ("progress_bar_bg",5,35); ac130toprr.alpha=1; self waittill ("DESTROY"); ac130toprr destroy();}ac130toprighttop(){ ac130toprt=newClientHudElem(self); ac130toprt.x=110; ac130toprt.y=-100; ac130toprt.alignX="center"; ac130toprt.alignY="middle"; ac130toprt.horzAlign="center"; ac130toprt.vertAlign="middle"; ac130toprt.foreground=true; ac130toprt setshader ("progress_bar_bg",35,5); ac130toprt.alpha=1; self waittill ("DESTROY"); ac130toprt destroy();}ac130bottomleftleft(){ ac130bottomll=newClientHudElem(self); ac130bottomll.x=-125; ac130bottomll.y=87; ac130bottomll.alignX="center"; ac130bottomll.alignY="middle"; ac130bottomll.horzAlign="center"; ac130bottomll.vertAlign="middle"; ac130bottomll.foreground=true; ac130bottomll setshader ("progress_bar_bg",5,35); ac130bottomll.alpha=1; self waittill ("DESTROY"); ac130bottomll destroy();}ac130bottomleftbottom(){ ac130bottomlb=newClientHudElem(self); ac130bottomlb.x=-110; ac130bottomlb.y=100; ac130bottomlb.alignX="center"; ac130bottomlb.alignY="middle"; ac130bottomlb.horzAlign="center"; ac130bottomlb.vertAlign="middle"; ac130bottomlb.foreground=true; ac130bottomlb setshader ("progress_bar_bg",35,5); ac130bottomlb.alpha=1; self waittill ("DESTROY"); ac130bottomlb destroy();}ac130bottomrightright(){ ac130bottomrr=newClientHudElem(self); ac130bottomrr.x=125; ac130bottomrr.y=87; ac130bottomrr.alignX="center"; ac130bottomrr.alignY="middle"; ac130bottomrr.horzAlign="center"; ac130bottomrr.vertAlign="middle"; ac130bottomrr.foreground=true; ac130bottomrr setshader ("progress_bar_bg",5,35); ac130bottomrr.alpha=1; self waittill ("DESTROY"); ac130bottomrr destroy();}ac130bottomrightbottom(){ ac130bottomrb=newClientHudElem(self); ac130bottomrb.x=110; ac130bottomrb.y=100; ac130bottomrb.alignX="center"; ac130bottomrb.alignY="middle"; ac130bottomrb.horzAlign="center"; ac130bottomrb.vertAlign="middle"; ac130bottomrb.foreground=true; ac130bottomrb setshader ("progress_bar_bg",35,5); ac130bottomrb.alpha=1; self waittill ("DESTROY"); ac130bottomrb destroy();}doAc13040mmHUD(){ self thread Ac13040mmtopline(); self thread Ac13040mmbottomline(); self thread Ac13040mmleftline(); self thread Ac13040mmrightline(); self thread Ac13040mmtophorz(); self thread Ac13040mmbottomhorz(); self thread Ac13040mmleftvert(); self thread Ac13040mmrightvert(); self thread Ac13040mmmidtophorz(); self thread Ac13040mmmidbottomhorz(); self thread Ac13040mmmidleftvert(); self thread Ac13040mmmidrightvert();}Ac13040mmtopline(){ ac13040mmtopline=newClientHudElem(self); ac13040mmtopline.x=0; ac13040mmtopline.y=-70; ac13040mmtopline.alignX="center"; ac13040mmtopline.alignY="middle"; ac13040mmtopline.horzAlign="center"; ac13040mmtopline.vertAlign="middle"; ac13040mmtopline.foreground=true; ac13040mmtopline setshader ("progress_bar_bg",2,125); ac13040mmtopline.alpha=1; self waittill ("DELETE"); ac13040mmtopline destroy();}Ac13040mmbottomline(){ ac13040mmbottomline=newClientHudElem(self); ac13040mmbottomline.x=0; ac13040mmbottomline.y=70; ac13040mmbottomline.alignX="center"; ac13040mmbottomline.alignY="middle"; ac13040mmbottomline.horzAlign="center"; ac13040mmbottomline.vertAlign="middle"; ac13040mmbottomline.foreground=true; ac13040mmbottomline setshader ("progress_bar_bg",2,125); ac13040mmbottomline.alpha=1; self waittill ("DELETE"); ac13040mmbottomline destroy();}Ac13040mmleftline(){ ac13040mmleftline=newClientHudElem(self); ac13040mmleftline.x=-85; ac13040mmleftline.y=0; ac13040mmleftline.alignX="center"; ac13040mmleftline.alignY="middle"; ac13040mmleftline.horzAlign="center"; ac13040mmleftline.vertAlign="middle"; ac13040mmleftline.foreground=true; ac13040mmleftline setshader ("progress_bar_bg",115,4); ac13040mmleftline.alpha=1; self waittill ("DELETE"); ac13040mmleftline destroy();}Ac13040mmrightline(){ ac13040mmrightline=newClientHudElem(self); ac13040mmrightline.x=85; ac13040mmrightline.y=0; ac13040mmrightline.alignX="center"; ac13040mmrightline.alignY="middle"; ac13040mmrightline.horzAlign="center"; ac13040mmrightline.vertAlign="middle"; ac13040mmrightline.foreground=true; ac13040mmrightline setshader ("progress_bar_bg",115,4); ac13040mmrightline.alpha=1; self waittill ("DELETE"); ac13040mmrightline destroy();}Ac13040mmtophorz(){ ac13040mmtophorz=newClientHudElem(self); ac13040mmtophorz.x=0; ac13040mmtophorz.y=-118; ac13040mmtophorz.alignX="center"; ac13040mmtophorz.alignY="middle"; ac13040mmtophorz.horzAlign="center"; ac13040mmtophorz.vertAlign="middle"; ac13040mmtophorz.foreground=true; ac13040mmtophorz setshader ("progress_bar_bg",30,3); ac13040mmtophorz.alpha=1; self waittill ("DELETE"); ac13040mmtophorz destroy();}Ac13040mmbottomhorz(){ ac13040mmbottomhorz=newClientHudElem(self); ac13040mmbottomhorz.x=0; ac13040mmbottomhorz.y=118; ac13040mmbottomhorz.alignX="center"; ac13040mmbottomhorz.alignY="middle"; ac13040mmbottomhorz.horzAlign="center"; ac13040mmbottomhorz.vertAlign="middle"; ac13040mmbottomhorz.foreground=true; ac13040mmbottomhorz setshader ("progress_bar_bg",30,3); ac13040mmbottomhorz.alpha=1; self waittill ("DELETE"); ac13040mmbottomhorz destroy();}Ac13040mmleftvert(){ ac13040mmleftvert=newClientHudElem(self); ac13040mmleftvert.x=-142; ac13040mmleftvert.y=0; ac13040mmleftvert.alignX="center"; ac13040mmleftvert.alignY="middle"; ac13040mmleftvert.horzAlign="center"; ac13040mmleftvert.vertAlign="middle"; ac13040mmleftvert.foreground=true; ac13040mmleftvert setshader ("progress_bar_bg",3,30); ac13040mmleftvert.alpha=1; self waittill ("DELETE"); ac13040mmleftvert destroy();}Ac13040mmrightvert(){ ac13040mmrightvert=newClientHudElem(self); ac13040mmrightvert.x=142; ac13040mmrightvert.y=0; ac13040mmrightvert.alignX="center"; ac13040mmrightvert.alignY="middle"; ac13040mmrightvert.horzAlign="center"; ac13040mmrightvert.vertAlign="middle"; ac13040mmrightvert.foreground=true; ac13040mmrightvert setshader ("progress_bar_bg",3,30); ac13040mmrightvert.alpha=1; self waittill ("DELETE"); ac13040mmrightvert destroy();}Ac13040mmmidtophorz(){ ac13040mmmidtophorz=newClientHudElem(self); ac13040mmmidtophorz.x=0; ac13040mmmidtophorz.y=-69; ac13040mmmidtophorz.alignX="center"; ac13040mmmidtophorz.alignY="middle"; ac13040mmmidtophorz.horzAlign="center"; ac13040mmmidtophorz.vertAlign="middle"; ac13040mmmidtophorz.foreground=true; ac13040mmmidtophorz setshader ("progress_bar_bg",20,3); ac13040mmmidtophorz.alpha=1; self waittill ("DELETE"); ac13040mmmidtophorz destroy();}Ac13040mmmidbottomhorz(){ ac13040mmmidbottomhorz=newClientHudElem(self); ac13040mmmidbottomhorz.x=0; ac13040mmmidbottomhorz.y=69; ac13040mmmidbottomhorz.alignX="center"; ac13040mmmidbottomhorz.alignY="middle"; ac13040mmmidbottomhorz.horzAlign="center"; ac13040mmmidbottomhorz.vertAlign="middle"; ac13040mmmidbottomhorz.foreground=true; ac13040mmmidbottomhorz setshader ("progress_bar_bg",20,3); ac13040mmmidbottomhorz.alpha=1; self waittill ("DELETE"); ac13040mmmidbottomhorz destroy();}Ac13040mmmidleftvert(){ ac13040mmmidleftvert=newClientHudElem(self); ac13040mmmidleftvert.x=-81; ac13040mmmidleftvert.y=0; ac13040mmmidleftvert.alignX="center"; ac13040mmmidleftvert.alignY="middle"; ac13040mmmidleftvert.horzAlign="center"; ac13040mmmidleftvert.vertAlign="middle"; ac13040mmmidleftvert.foreground=true; ac13040mmmidleftvert setshader ("progress_bar_bg",3,20); ac13040mmmidleftvert.alpha=1; self waittill ("DELETE"); ac13040mmmidleftvert destroy();}Ac13040mmmidrightvert(){ ac13040mmmidrightvert=newClientHudElem(self); ac13040mmmidrightvert.x=81; ac13040mmmidrightvert.y=0; ac13040mmmidrightvert.alignX="center"; ac13040mmmidrightvert.alignY="middle"; ac13040mmmidrightvert.horzAlign="center"; ac13040mmmidrightvert.vertAlign="middle"; ac13040mmmidrightvert.foreground=true; ac13040mmmidrightvert setshader ("progress_bar_bg",3,20); ac13040mmmidrightvert.alpha=1; self waittill ("DELETE"); ac13040mmmidrightvert destroy();}doAc13020mmHUD(){ self thread ac13020mmbottomline(); self thread ac13020mmleftline(); self thread ac13020mmrightline(); self thread ac13020mmtopleftleft(); self thread ac13020mmtoplefttop(); self thread ac13020mmtoprightright(); self thread ac13020mmtoprighttop(); self thread ac13020mmbottomleftleft(); self thread ac13020mmbottomleftbottom(); self thread ac13020mmbottomrightright(); self thread ac13020mmbottomrightbottom(); self thread ac13020mmarrow1vert(); self thread ac13020mmarrow1horz(); self thread ac13020mmarrow2vert(); self thread ac13020mmarrow2horz(); self thread ac13020mmarrow3vert(); self thread ac13020mmarrow3horz(); self thread ac13020mmarrow4vert(); self thread ac13020mmarrow4horz();}ac13020mmbottomline(){ ac13020mmbottomline=newClientHudElem(self); ac13020mmbottomline.x=0; ac13020mmbottomline.y=20; ac13020mmbottomline.alignX="center"; ac13020mmbottomline.alignY="middle"; ac13020mmbottomline.horzAlign="center"; ac13020mmbottomline.vertAlign="middle"; ac13020mmbottomline.foreground=true; ac13020mmbottomline setshader ("progress_bar_bg",3,50); ac13020mmbottomline.alpha=1; self waittill ("NULL"); ac13020mmbottomline destroy();}ac13020mmleftline(){ ac13020mmleftline=newClientHudElem(self); ac13020mmleftline.x=-25; ac13020mmleftline.y=0; ac13020mmleftline.alignX="center"; ac13020mmleftline.alignY="middle"; ac13020mmleftline.horzAlign="center"; ac13020mmleftline.vertAlign="middle"; ac13020mmleftline.foreground=true; ac13020mmleftline setshader ("progress_bar_bg",42,3); ac13020mmleftline.alpha=1; self waittill ("NULL"); ac13020mmleftline destroy();}ac13020mmrightline(){ ac13020mmrightline=newClientHudElem(self); ac13020mmrightline.x=25; ac13020mmrightline.y=0; ac13020mmrightline.alignX="center"; ac13020mmrightline.alignY="middle"; ac13020mmrightline.horzAlign="center"; ac13020mmrightline.vertAlign="middle"; ac13020mmrightline.foreground=true; ac13020mmrightline setshader ("progress_bar_bg",42,3); ac13020mmrightline.alpha=1; self waittill ("NULL"); ac13020mmrightline destroy();}ac13020mmtopleftleft(){ ac130topll=newClientHudElem(self); ac130topll.x=-75; ac130topll.y=-47; ac130topll.alignX="center"; ac130topll.alignY="middle"; ac130topll.horzAlign="center"; ac130topll.vertAlign="middle"; ac130topll.foreground=true; ac130topll setshader ("progress_bar_bg",5,35); ac130topll.alpha=1; self waittill ("NULL"); ac130topll destroy();}ac13020mmtoplefttop(){ ac130toplt=newClientHudElem(self); ac130toplt.x=-60; ac130toplt.y=-60; ac130toplt.alignX="center"; ac130toplt.alignY="middle"; ac130toplt.horzAlign="center"; ac130toplt.vertAlign="middle"; ac130toplt.foreground=true; ac130toplt setshader ("progress_bar_bg",35,5); ac130toplt.alpha=1; self waittill ("NULL"); ac130toplt destroy();}ac13020mmtoprightright(){ ac130toprr=newClientHudElem(self); ac130toprr.x=75; ac130toprr.y=-47; ac130toprr.alignX="center"; ac130toprr.alignY="middle"; ac130toprr.horzAlign="center"; ac130toprr.vertAlign="middle"; ac130toprr.foreground=true; ac130toprr setshader ("progress_bar_bg",5,35); ac130toprr.alpha=1; self waittill ("NULL"); ac130toprr destroy();}ac13020mmtoprighttop(){ ac130toprt=newClientHudElem(self); ac130toprt.x=60; ac130toprt.y=-60; ac130toprt.alignX="center"; ac130toprt.alignY="middle"; ac130toprt.horzAlign="center"; ac130toprt.vertAlign="middle"; ac130toprt.foreground=true; ac130toprt setshader ("progress_bar_bg",35,5); ac130toprt.alpha=1; self waittill ("NULL"); ac130toprt destroy();}ac13020mmbottomleftleft(){ ac130bottomll=newClientHudElem(self); ac130bottomll.x=-75; ac130bottomll.y=47; ac130bottomll.alignX="center"; ac130bottomll.alignY="middle"; ac130bottomll.horzAlign="center"; ac130bottomll.vertAlign="middle"; ac130bottomll.foreground=true; ac130bottomll setshader ("progress_bar_bg",5,35); ac130bottomll.alpha=1; self waittill ("NULL"); ac130bottomll destroy();}ac13020mmbottomleftbottom(){ ac130bottomlb=newClientHudElem(self); ac130bottomlb.x=-60; ac130bottomlb.y=60; ac130bottomlb.alignX="center"; ac130bottomlb.alignY="middle"; ac130bottomlb.horzAlign="center"; ac130bottomlb.vertAlign="middle"; ac130bottomlb.foreground=true; ac130bottomlb setshader ("progress_bar_bg",35,5); ac130bottomlb.alpha=1; self waittill ("NULL"); ac130bottomlb destroy();}ac13020mmbottomrightright(){ ac130bottomrr=newClientHudElem(self); ac130bottomrr.x=75; ac130bottomrr.y=47; ac130bottomrr.alignX="center"; ac130bottomrr.alignY="middle"; ac130bottomrr.horzAlign="center"; ac130bottomrr.vertAlign="middle"; ac130bottomrr.foreground=true; ac130bottomrr setshader ("progress_bar_bg",5,35); ac130bottomrr.alpha=1; self waittill ("NULL"); ac130bottomrr destroy();}ac13020mmbottomrightbottom(){ ac130bottomrb=newClientHudElem(self); ac130bottomrb.x=60; ac130bottomrb.y=60; ac130bottomrb.alignX="center"; ac130bottomrb.alignY="middle"; ac130bottomrb.horzAlign="center"; ac130bottomrb.vertAlign="middle"; ac130bottomrb.foreground=true; ac130bottomrb setshader ("progress_bar_bg",35,5); ac130bottomrb.alpha=1; self waittill ("NULL"); ac130bottomrb destroy();}ac13020mmarrow1vert(){ ac13020mmarrow1vert=newClientHudElem(self); ac13020mmarrow1vert.x=10; ac13020mmarrow1vert.y=12; ac13020mmarrow1vert.alignX="center"; ac13020mmarrow1vert.alignY="middle"; ac13020mmarrow1vert.horzAlign="center"; ac13020mmarrow1vert.vertAlign="middle"; ac13020mmarrow1vert.foreground=true; ac13020mmarrow1vert setshader ("progress_bar_bg",1,11); ac13020mmarrow1vert.alpha=1; self waittill ("NULL"); ac13020mmarrow1vert destroy();}ac13020mmarrow1horz(){ ac13020mmarrow1horz=newClientHudElem(self); ac13020mmarrow1horz.x=15; ac13020mmarrow1horz.y=8; ac13020mmarrow1horz.alignX="center"; ac13020mmarrow1horz.alignY="middle"; ac13020mmarrow1horz.horzAlign="center"; ac13020mmarrow1horz.vertAlign="middle"; ac13020mmarrow1horz.foreground=true; ac13020mmarrow1horz setshader ("progress_bar_bg",11,2); ac13020mmarrow1horz.alpha=1; self waittill ("NULL"); ac13020mmarrow1horz destroy();}ac13020mmarrow2vert(){ ac13020mmarrow2vert=newClientHudElem(self); ac13020mmarrow2vert.x=15; ac13020mmarrow2vert.y=17; ac13020mmarrow2vert.alignX="center"; ac13020mmarrow2vert.alignY="middle"; ac13020mmarrow2vert.horzAlign="center"; ac13020mmarrow2vert.vertAlign="middle"; ac13020mmarrow2vert.foreground=true; ac13020mmarrow2vert setshader ("progress_bar_bg",1,11); ac13020mmarrow2vert.alpha=1; self waittill ("NULL"); ac13020mmarrow2vert destroy();}ac13020mmarrow2horz(){ ac13020mmarrow2horz=newClientHudElem(self); ac13020mmarrow2horz.x=20; ac13020mmarrow2horz.y=13; ac13020mmarrow2horz.alignX="center"; ac13020mmarrow2horz.alignY="middle"; ac13020mmarrow2horz.horzAlign="center"; ac13020mmarrow2horz.vertAlign="middle"; ac13020mmarrow2horz.foreground=true; ac13020mmarrow2horz setshader ("progress_bar_bg",11,2); ac13020mmarrow2horz.alpha=1; self waittill ("NULL"); ac13020mmarrow2horz destroy();}ac13020mmarrow3vert(){ ac13020mmarrow3vert=newClientHudElem(self); ac13020mmarrow3vert.x=20; ac13020mmarrow3vert.y=22; ac13020mmarrow3vert.alignX="center"; ac13020mmarrow3vert.alignY="middle"; ac13020mmarrow3vert.horzAlign="center"; ac13020mmarrow3vert.vertAlign="middle"; ac13020mmarrow3vert.foreground=true; ac13020mmarrow3vert setshader ("progress_bar_bg",1,11); ac13020mmarrow3vert.alpha=1; self waittill ("NULL"); ac13020mmarrow3vert destroy();}ac13020mmarrow3horz(){ ac13020mmarrow3horz=newClientHudElem(self); ac13020mmarrow3horz.x=25; ac13020mmarrow3horz.y=18; ac13020mmarrow3horz.alignX="center"; ac13020mmarrow3horz.alignY="middle"; ac13020mmarrow3horz.horzAlign="center"; ac13020mmarrow3horz.vertAlign="middle"; ac13020mmarrow3horz.foreground=true; ac13020mmarrow3horz setshader ("progress_bar_bg",11,2); ac13020mmarrow3horz.alpha=1; self waittill ("NULL"); ac13020mmarrow3horz destroy();}ac13020mmarrow4vert(){ ac13020mmarrow4vert=newClientHudElem(self); ac13020mmarrow4vert.x=25; ac13020mmarrow4vert.y=27; ac13020mmarrow4vert.alignX="center"; ac13020mmarrow4vert.alignY="middle"; ac13020mmarrow4vert.horzAlign="center"; ac13020mmarrow4vert.vertAlign="middle"; ac13020mmarrow4vert.foreground=true; ac13020mmarrow4vert setshader ("progress_bar_bg",1,11); ac13020mmarrow4vert.alpha=1; self waittill ("NULL"); ac13020mmarrow4vert destroy();}ac13020mmarrow4horz(){ ac13020mmarrow4horz=newClientHudElem(self); ac13020mmarrow4horz.x=30; ac13020mmarrow4horz.y=23; ac13020mmarrow4horz.alignX="center"; ac13020mmarrow4horz.alignY="middle"; ac13020mmarrow4horz.horzAlign="center"; ac13020mmarrow4horz.vertAlign="middle"; ac13020mmarrow4horz.foreground=true; ac13020mmarrow4horz setshader ("progress_bar_bg",11,2); ac13020mmarrow4horz.alpha=1; self waittill ("NULL"); ac13020mmarrow4horz destroy();}ac130weapons(){ self endon("death"); for(;Winky Winky { self.ac130weapon="1"; if(self.ac130weapon=1) { self thread ac130105mm(); self thread doAc130105mmHUD(); self notify("NULL"); } wait 1; self waittill("Pressed_Square"); self.ac130weapon="2"; if(self.ac130weapon=2) { self thread ac13040mm(); self thread doAc13040mmHUD(); self notify("DESTROY"); } wait 1; self waittill("Pressed_Square"); self.ac130weapon="3"; if(self.ac130weapon=3) { self thread ac13020mm(); self thread doAc13020mmHUD(); self notify("DELETE"); } wait 2; self waittill("Pressed_Square"); }}ac130105mm(){ self endon ("death"); self.ac130weapon="1"; self thread Notify_Mods("^5105mm Cannon Ready For Action!"); self takeallweapons(); self giveWeapon("30cal_mp"); self switchToWeapon("30cal_mp"); while(1) { if(self.ac130weapon="1") { self waittill ("weapon_fired"); forward=self geteye(); vec=anglestoforward(self getPlayerAngles()); end=(vec[0] * 100000000,vec[1] * 100000000,vec[2] * 100000000); SPLOSIONlocation=BulletTrace(forward,end,0,self)["position"]; RadiusDamage(SPLOSIONlocation,300,600,200,self); playfx(loadfx("explosions/default_explosion"),SPLOSIONlocation); } }}ac13040mm(){ self endon ("death"); self.ac130weapon="2"; self thread Notify_Mods("^340mm Cannon Ready For Action!"); while(1) { if(self.ac130weapon="2") { self waittill ("weapon_fired"); forward=self geteye(); vec=anglestoforward(self getPlayerAngles()); end=(vec[0] * 100000000,vec[1] * 100000000,vec[2] * 100000000); SPLOSIONlocation=BulletTrace(forward,end,0,self)["position"]; RadiusDamage(SPLOSIONlocation,300,600,200,self); playfx(loadfx("explosions/default_explosion"),SPLOSIONlocation); } }}ac13020mm(){ self endon("death"); self.ac130weapon="3"; self thread Notify_Mods("^220mm Gun Ready For Action!"); self takeallweapons(); self giveWeapon("fg42_mp"); self switchToWeapon("fg42_mp");}ac130timer(duration){ level.HUDItem["timer"]=newClientHudElem(self); level.HUDItem["timer"].x=-100; level.HUDItem["timer"].y=50; level.HUDItem["timer"].alignX="right"; level.HUDItem["timer"].alignY="bottom"; level.HUDItem["timer"].horzAlign="right"; level.HUDItem["timer"].vertAlign="bottom"; level.HUDItem["timer"].font="objective"; level.HUDItem["timer"].fontScale=2.5; level.HUDItem["timer"] setTimer(60.0); level.HUDItem["timer"].alpha=1.0; level.HUDItem["timer"] setTimer(duration); self waittill("death"); level.HUDItem["timer"] destroy();}Notify_Mods(msg){notifier=createFontString("default",1.3,self);notifier setPoint("BOTTOM RIGHT","BOTTOM RIGHT",-5,-35);notifier SetText(msg+"");wait 1;notifier SetText("");}




If first one does not work try this one
    
AC130(){
self endon("death");
self takeallweapons();
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");
self setClientDvar("cg_drawGun","0");
self setClientDvar("cg_drawCrosshair","0");
self setClientDvar("g_gravity","1");
self setClientDvar("player_sustainAmmo","1");
self.maxhealth = 90000;
self.health = self.maxhealth;
visionSetNaked( "kamikaze", 0.2 );
wait 0.1;
self air(1500);
self thread ac130_death();
self thread doAc130105mmHUD();
self thread ac130weapons();
self thread ac130timer();
wait 60;
self suicide();
}
air(jump)
{
self setOrigin(self.origin+(0,0,jump));
}
ac130_death(){
self waittill("death");
self notify("DESTROY");
self notify("DELETE");
self notify("NULL");
self setClientDvar("cg_drawGun","1");
self setClientDvar("cg_drawCrosshair","1");
self setClientDvar("g_gravity","0");
self setClientDvar("player_sustainAmmo","0");
visionSetNaked( "default", 0.2 );
self.maxhealth = 100;
self.health = self.maxhealth;
}
doAc130105mmHUD()
{
self thread ac130boxleftvert();
self thread ac130boxrightvert();
self thread ac130boxtophorz();
self thread ac130boxbottomhorz();
self thread ac130topline();
self thread ac130bottomline();
self thread ac130leftline();
self thread ac130rightline();
self thread ac130topleftleft();
self thread ac130toplefttop();
self thread ac130toprightright();
self thread ac130toprighttop();
self thread ac130bottomleftleft();
self thread ac130bottomleftbottom();
self thread ac130bottomrightright();
self thread ac130bottomrightbottom();
}

ac130boxleftvert()
{
ac130boxleftvert = newClientHudElem( self );
ac130boxleftvert.x = -30;
ac130boxleftvert.y = 0;
ac130boxleftvert.alignX = "center";
ac130boxleftvert.alignY = "middle";
ac130boxleftvert.horzAlign = "center";
ac130boxleftvert.vertAlign = "middle";
ac130boxleftvert.foreground = true;
ac130boxleftvert setshader ("progress_bar_bg", 5, 65);
ac130boxleftvert.alpha = 1;
self waittill ("DESTROY");
ac130boxleftvert destroy();
}

ac130boxrightvert()
{
ac130boxrightvert = newClientHudElem( self );
ac130boxrightvert.x = 30;
ac130boxrightvert.y = 0;
ac130boxrightvert.alignX = "center";
ac130boxrightvert.alignY = "middle";
ac130boxrightvert.horzAlign = "center";
ac130boxrightvert.vertAlign = "middle";
ac130boxrightvert.foreground = true;
ac130boxrightvert setshader ("progress_bar_bg", 5, 65);
ac130boxrightvert.alpha = 1;
self waittill ("DESTROY");
ac130boxrightvert destroy();
}

ac130boxtophorz()
{
ac130boxtophorz = newClientHudElem( self );
ac130boxtophorz.x = 0;
ac130boxtophorz.y = -25;
ac130boxtophorz.alignX = "center";
ac130boxtophorz.alignY = "middle";
ac130boxtophorz.horzAlign = "center";
ac130boxtophorz.vertAlign = "middle";
ac130boxtophorz.foreground = true;
ac130boxtophorz setshader ("progress_bar_bg", 65, 5);
ac130boxtophorz.alpha = 1;
self waittill ("DESTROY");
ac130boxtophorz destroy();
}

ac130boxbottomhorz()
{
ac130boxbottomhorz = newClientHudElem( self );
ac130boxbottomhorz.x = 0;
ac130boxbottomhorz.y = 25;
ac130boxbottomhorz.alignX = "center";
ac130boxbottomhorz.alignY = "middle";
ac130boxbottomhorz.horzAlign = "center";
ac130boxbottomhorz.vertAlign = "middle";
ac130boxbottomhorz.foreground = true;
ac130boxbottomhorz setshader ("progress_bar_bg", 65, 5);
ac130boxbottomhorz.alpha = 1;
self waittill ("DESTROY");
ac130boxbottomhorz destroy();
}

ac130topline()
{
ac130topline = newClientHudElem( self );
ac130topline.x = 0;
ac130topline.y = -50;
ac130topline.alignX = "center";
ac130topline.alignY = "middle";
ac130topline.horzAlign = "center";
ac130topline.vertAlign = "middle";
ac130topline.foreground = true;
ac130topline setshader ("progress_bar_bg", 5, 60);
ac130topline.alpha = 1;
self waittill ("DESTROY");
ac130topline destroy();
}

ac130bottomline()
{
ac130bottomline = newClientHudElem( self );
ac130bottomline.x = 0;
ac130bottomline.y = 50;
ac130bottomline.alignX = "center";
ac130bottomline.alignY = "middle";
ac130bottomline.horzAlign = "center";
ac130bottomline.vertAlign = "middle";
ac130bottomline.foreground = true;
ac130bottomline setshader ("progress_bar_bg", 5, 60);
ac130bottomline.alpha = 1;
self waittill ("DESTROY");
ac130bottomline destroy();
}

ac130leftline()
{
ac130leftline = newClientHudElem( self );
ac130leftline.x = -64.5;
ac130leftline.y = 0;
ac130leftline.alignX = "center";
ac130leftline.alignY = "middle";
ac130leftline.horzAlign = "center";
ac130leftline.vertAlign = "middle";
ac130leftline.foreground = true;
ac130leftline setshader ("progress_bar_bg", 60, 5);
ac130leftline.alpha = 1;
self waittill ("DESTROY");
ac130leftline destroy();
}

ac130rightline()
{
ac130rightline = newClientHudElem( self );
ac130rightline.x = 64;
ac130rightline.y = 0;
ac130rightline.alignX = "center";
ac130rightline.alignY = "middle";
ac130rightline.horzAlign = "center";
ac130rightline.vertAlign = "middle";
ac130rightline.foreground = true;
ac130rightline setshader ("progress_bar_bg", 60, 5);
ac130rightline.alpha = 1;
self waittill ("DESTROY");
ac130rightline destroy();
}

ac130topleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -125;
ac130topll.y = -87;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("DESTROY");
ac130topll destroy();
}

ac130toplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -110;
ac130toplt.y = -100;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("DESTROY");
ac130toplt destroy();
}

ac130toprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 125;
ac130toprr.y = -87;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("DESTROY");
ac130toprr destroy();
}

ac130toprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 110;
ac130toprt.y = -100;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("DESTROY");
ac130toprt destroy();
}

ac130bottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -125;
ac130bottomll.y = 87;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("DESTROY");
ac130bottomll destroy();
}

ac130bottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -110;
ac130bottomlb.y = 100;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("DESTROY");
ac130bottomlb destroy();
}

ac130bottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 125;
ac130bottomrr.y = 87;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("DESTROY");
ac130bottomrr destroy();
}

ac130bottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 110;
ac130bottomrb.y = 100;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("DESTROY");
ac130bottomrb destroy();
}

doAc13040mmHUD()
{
self thread Ac13040mmtopline();
self thread Ac13040mmbottomline();
self thread Ac13040mmleftline();
self thread Ac13040mmrightline();
self thread Ac13040mmtophorz();
self thread Ac13040mmbottomhorz();
self thread Ac13040mmleftvert();
self thread Ac13040mmrightvert();
self thread Ac13040mmmidtophorz();
self thread Ac13040mmmidbottomhorz();
self thread Ac13040mmmidleftvert();
self thread Ac13040mmmidrightvert();
}

Ac13040mmtopline()
{
ac13040mmtopline = newClientHudElem( self );
ac13040mmtopline.x = 0;
ac13040mmtopline.y = -70;
ac13040mmtopline.alignX = "center";
ac13040mmtopline.alignY = "middle";
ac13040mmtopline.horzAlign = "center";
ac13040mmtopline.vertAlign = "middle";
ac13040mmtopline.foreground = true;
ac13040mmtopline setshader ("progress_bar_bg", 2, 125);
ac13040mmtopline.alpha = 1;
self waittill ("DELETE");
ac13040mmtopline destroy();
}

Ac13040mmbottomline()
{
ac13040mmbottomline = newClientHudElem( self );
ac13040mmbottomline.x = 0;
ac13040mmbottomline.y = 70;
ac13040mmbottomline.alignX = "center";
ac13040mmbottomline.alignY = "middle";
ac13040mmbottomline.horzAlign = "center";
ac13040mmbottomline.vertAlign = "middle";
ac13040mmbottomline.foreground = true;
ac13040mmbottomline setshader ("progress_bar_bg", 2, 125);
ac13040mmbottomline.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomline destroy();
}

Ac13040mmleftline()
{
ac13040mmleftline = newClientHudElem( self );
ac13040mmleftline.x = -85;
ac13040mmleftline.y = 0;
ac13040mmleftline.alignX = "center";
ac13040mmleftline.alignY = "middle";
ac13040mmleftline.horzAlign = "center";
ac13040mmleftline.vertAlign = "middle";
ac13040mmleftline.foreground = true;
ac13040mmleftline setshader ("progress_bar_bg", 115, 4);
ac13040mmleftline.alpha = 1;
self waittill ("DELETE");
ac13040mmleftline destroy();
}

Ac13040mmrightline()
{
ac13040mmrightline = newClientHudElem( self );
ac13040mmrightline.x = 85;
ac13040mmrightline.y = 0;
ac13040mmrightline.alignX = "center";
ac13040mmrightline.alignY = "middle";
ac13040mmrightline.horzAlign = "center";
ac13040mmrightline.vertAlign = "middle";
ac13040mmrightline.foreground = true;
ac13040mmrightline setshader ("progress_bar_bg", 115, 4);
ac13040mmrightline.alpha = 1;
self waittill ("DELETE");
ac13040mmrightline destroy();
}

Ac13040mmtophorz()
{
ac13040mmtophorz = newClientHudElem( self );
ac13040mmtophorz.x = 0;
ac13040mmtophorz.y = -118;
ac13040mmtophorz.alignX = "center";
ac13040mmtophorz.alignY = "middle";
ac13040mmtophorz.horzAlign = "center";
ac13040mmtophorz.vertAlign = "middle";
ac13040mmtophorz.foreground = true;
ac13040mmtophorz setshader ("progress_bar_bg", 30, 3);
ac13040mmtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmtophorz destroy();
}

Ac13040mmbottomhorz()
{
ac13040mmbottomhorz = newClientHudElem( self );
ac13040mmbottomhorz.x = 0;
ac13040mmbottomhorz.y = 118;
ac13040mmbottomhorz.alignX = "center";
ac13040mmbottomhorz.alignY = "middle";
ac13040mmbottomhorz.horzAlign = "center";
ac13040mmbottomhorz.vertAlign = "middle";
ac13040mmbottomhorz.foreground = true;
ac13040mmbottomhorz setshader ("progress_bar_bg", 30, 3);
ac13040mmbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomhorz destroy();
}

Ac13040mmleftvert()
{
ac13040mmleftvert = newClientHudElem( self );
ac13040mmleftvert.x = -142;
ac13040mmleftvert.y = 0;
ac13040mmleftvert.alignX = "center";
ac13040mmleftvert.alignY = "middle";
ac13040mmleftvert.horzAlign = "center";
ac13040mmleftvert.vertAlign = "middle";
ac13040mmleftvert.foreground = true;
ac13040mmleftvert setshader ("progress_bar_bg", 3, 30);
ac13040mmleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmleftvert destroy();
}

Ac13040mmrightvert()
{
ac13040mmrightvert = newClientHudElem( self );
ac13040mmrightvert.x = 142;
ac13040mmrightvert.y = 0;
ac13040mmrightvert.alignX = "center";
ac13040mmrightvert.alignY = "middle";
ac13040mmrightvert.horzAlign = "center";
ac13040mmrightvert.vertAlign = "middle";
ac13040mmrightvert.foreground = true;
ac13040mmrightvert setshader ("progress_bar_bg", 3, 30);
ac13040mmrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmrightvert destroy();
}

Ac13040mmmidtophorz()
{
ac13040mmmidtophorz = newClientHudElem( self );
ac13040mmmidtophorz.x = 0;
ac13040mmmidtophorz.y = -69;
ac13040mmmidtophorz.alignX = "center";
ac13040mmmidtophorz.alignY = "middle";
ac13040mmmidtophorz.horzAlign = "center";
ac13040mmmidtophorz.vertAlign = "middle";
ac13040mmmidtophorz.foreground = true;
ac13040mmmidtophorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidtophorz destroy();
}

Ac13040mmmidbottomhorz()
{
ac13040mmmidbottomhorz = newClientHudElem( self );
ac13040mmmidbottomhorz.x = 0;
ac13040mmmidbottomhorz.y = 69;
ac13040mmmidbottomhorz.alignX = "center";
ac13040mmmidbottomhorz.alignY = "middle";
ac13040mmmidbottomhorz.horzAlign = "center";
ac13040mmmidbottomhorz.vertAlign = "middle";
ac13040mmmidbottomhorz.foreground = true;
ac13040mmmidbottomhorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidbottomhorz destroy();
}

Ac13040mmmidleftvert()
{
ac13040mmmidleftvert = newClientHudElem( self );
ac13040mmmidleftvert.x = -81;
ac13040mmmidleftvert.y = 0;
ac13040mmmidleftvert.alignX = "center";
ac13040mmmidleftvert.alignY = "middle";
ac13040mmmidleftvert.horzAlign = "center";
ac13040mmmidleftvert.vertAlign = "middle";
ac13040mmmidleftvert.foreground = true;
ac13040mmmidleftvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidleftvert destroy();
}

Ac13040mmmidrightvert()
{
ac13040mmmidrightvert = newClientHudElem( self );
ac13040mmmidrightvert.x = 81;
ac13040mmmidrightvert.y = 0;
ac13040mmmidrightvert.alignX = "center";
ac13040mmmidrightvert.alignY = "middle";
ac13040mmmidrightvert.horzAlign = "center";
ac13040mmmidrightvert.vertAlign = "middle";
ac13040mmmidrightvert.foreground = true;
ac13040mmmidrightvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidrightvert destroy();
}

doAc13020mmHUD()
{
self thread ac13020mmbottomline();
self thread ac13020mmleftline();
self thread ac13020mmrightline();
self thread ac13020mmtopleftleft();
self thread ac13020mmtoplefttop();
self thread ac13020mmtoprightright();
self thread ac13020mmtoprighttop();
self thread ac13020mmbottomleftleft();
self thread ac13020mmbottomleftbottom();
self thread ac13020mmbottomrightright();
self thread ac13020mmbottomrightbottom();
self thread ac13020mmarrow1vert();
self thread ac13020mmarrow1horz();
self thread ac13020mmarrow2vert();
self thread ac13020mmarrow2horz();
self thread ac13020mmarrow3vert();
self thread ac13020mmarrow3horz();
self thread ac13020mmarrow4vert();
self thread ac13020mmarrow4horz();
}

ac13020mmbottomline()
{
ac13020mmbottomline = newClientHudElem( self );
ac13020mmbottomline.x = 0;
ac13020mmbottomline.y = 20;
ac13020mmbottomline.alignX = "center";
ac13020mmbottomline.alignY = "middle";
ac13020mmbottomline.horzAlign = "center";
ac13020mmbottomline.vertAlign = "middle";
ac13020mmbottomline.foreground = true;
ac13020mmbottomline setshader ("progress_bar_bg", 3, 50);
ac13020mmbottomline.alpha = 1;
self waittill ("NULL");
ac13020mmbottomline destroy();
}

ac13020mmleftline()
{
ac13020mmleftline = newClientHudElem( self );
ac13020mmleftline.x = -25;
ac13020mmleftline.y = 0;
ac13020mmleftline.alignX = "center";
ac13020mmleftline.alignY = "middle";
ac13020mmleftline.horzAlign = "center";
ac13020mmleftline.vertAlign = "middle";
ac13020mmleftline.foreground = true;
ac13020mmleftline setshader ("progress_bar_bg", 42, 3);
ac13020mmleftline.alpha = 1;
self waittill ("NULL");
ac13020mmleftline destroy();
}

ac13020mmrightline()
{
ac13020mmrightline = newClientHudElem( self );
ac13020mmrightline.x = 25;
ac13020mmrightline.y = 0;
ac13020mmrightline.alignX = "center";
ac13020mmrightline.alignY = "middle";
ac13020mmrightline.horzAlign = "center";
ac13020mmrightline.vertAlign = "middle";
ac13020mmrightline.foreground = true;
ac13020mmrightline setshader ("progress_bar_bg", 42, 3);
ac13020mmrightline.alpha = 1;
self waittill ("NULL");
ac13020mmrightline destroy();
}

ac13020mmtopleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -75;
ac130topll.y = -47;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("NULL");
ac130topll destroy();
}

ac13020mmtoplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -60;
ac130toplt.y = -60;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("NULL");
ac130toplt destroy();
}

ac13020mmtoprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 75;
ac130toprr.y = -47;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("NULL");
ac130toprr destroy();
}

ac13020mmtoprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 60;
ac130toprt.y = -60;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("NULL");
ac130toprt destroy();
}

ac13020mmbottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -75;
ac130bottomll.y = 47;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("NULL");
ac130bottomll destroy();
}

ac13020mmbottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -60;
ac130bottomlb.y = 60;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("NULL");
ac130bottomlb destroy();
}

ac13020mmbottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 75;
ac130bottomrr.y = 47;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("NULL");
ac130bottomrr destroy();
}

ac13020mmbottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 60;
ac130bottomrb.y = 60;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("NULL");
ac130bottomrb destroy();
}

ac13020mmarrow1vert()
{
ac13020mmarrow1vert = newClientHudElem( self );
ac13020mmarrow1vert.x = 10;
ac13020mmarrow1vert.y = 12;
ac13020mmarrow1vert.alignX = "center";
ac13020mmarrow1vert.alignY = "middle";
ac13020mmarrow1vert.horzAlign = "center";
ac13020mmarrow1vert.vertAlign = "middle";
ac13020mmarrow1vert.foreground = true;
ac13020mmarrow1vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow1vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1vert destroy();
}

ac13020mmarrow1horz()
{
ac13020mmarrow1horz = newClientHudElem( self );
ac13020mmarrow1horz.x = 15;
ac13020mmarrow1horz.y = 8;
ac13020mmarrow1horz.alignX = "center";
ac13020mmarrow1horz.alignY = "middle";
ac13020mmarrow1horz.horzAlign = "center";
ac13020mmarrow1horz.vertAlign = "middle";
ac13020mmarrow1horz.foreground = true;
ac13020mmarrow1horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow1horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1horz destroy();
}

ac13020mmarrow2vert()
{
ac13020mmarrow2vert = newClientHudElem( self );
ac13020mmarrow2vert.x = 15;
ac13020mmarrow2vert.y = 17;
ac13020mmarrow2vert.alignX = "center";
ac13020mmarrow2vert.alignY = "middle";
ac13020mmarrow2vert.horzAlign = "center";
ac13020mmarrow2vert.vertAlign = "middle";
ac13020mmarrow2vert.foreground = true;
ac13020mmarrow2vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow2vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2vert destroy();
}

ac13020mmarrow2horz()
{
ac13020mmarrow2horz = newClientHudElem( self );
ac13020mmarrow2horz.x = 20;
ac13020mmarrow2horz.y = 13;
ac13020mmarrow2horz.alignX = "center";
ac13020mmarrow2horz.alignY = "middle";
ac13020mmarrow2horz.horzAlign = "center";
ac13020mmarrow2horz.vertAlign = "middle";
ac13020mmarrow2horz.foreground = true;
ac13020mmarrow2horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow2horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2horz destroy();
}

ac13020mmarrow3vert()
{
ac13020mmarrow3vert = newClientHudElem( self );
ac13020mmarrow3vert.x = 20;
ac13020mmarrow3vert.y = 22;
ac13020mmarrow3vert.alignX = "center";
ac13020mmarrow3vert.alignY = "middle";
ac13020mmarrow3vert.horzAlign = "center";
ac13020mmarrow3vert.vertAlign = "middle";
ac13020mmarrow3vert.foreground = true;
ac13020mmarrow3vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow3vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3vert destroy();
}

ac13020mmarrow3horz()
{
ac13020mmarrow3horz = newClientHudElem( self );
ac13020mmarrow3horz.x = 25;
ac13020mmarrow3horz.y = 18;
ac13020mmarrow3horz.alignX = "center";
ac13020mmarrow3horz.alignY = "middle";
ac13020mmarrow3horz.horzAlign = "center";
ac13020mmarrow3horz.vertAlign = "middle";
ac13020mmarrow3horz.foreground = true;
ac13020mmarrow3horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow3horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3horz destroy();
}

ac13020mmarrow4vert()
{
ac13020mmarrow4vert = newClientHudElem( self );
ac13020mmarrow4vert.x = 25;
ac13020mmarrow4vert.y = 27;
ac13020mmarrow4vert.alignX = "center";
ac13020mmarrow4vert.alignY = "middle";
ac13020mmarrow4vert.horzAlign = "center";
ac13020mmarrow4vert.vertAlign = "middle";
ac13020mmarrow4vert.foreground = true;
ac13020mmarrow4vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow4vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4vert destroy();
}

ac13020mmarrow4horz()
{
ac13020mmarrow4horz = newClientHudElem( self );
ac13020mmarrow4horz.x = 30;
ac13020mmarrow4horz.y = 23;
ac13020mmarrow4horz.alignX = "center";
ac13020mmarrow4horz.alignY = "middle";
ac13020mmarrow4horz.horzAlign = "center";
ac13020mmarrow4horz.vertAlign = "middle";
ac13020mmarrow4horz.foreground = true;
ac13020mmarrow4horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow4horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4horz destroy();
}

ac130weapons()
{
self endon("death");
for(;Winky Winky
{
self.ac130weapon = "1";
if(self.ac130weapon == 1)
{
self thread ac130105mm();
self thread doAc130105mmHUD();
self notify("NULL");
}
wait 1;
self waittill("use");
self.ac130weapon = "2";
if(self.ac130weapon == 2)
{
self thread ac13040mm();
self thread doAc13040mmHUD();
self notify("DESTROY");
}
wait 1;
self waittill("use");
self.ac130weapon = "3";
if(self.ac130weapon == 3)
{
self thread ac13020mm();
self thread doAc13020mmHUD();
self notify("DELETE");
}
wait 2;
self waittill("use");
}
}

ac130105mm()
{
self endon ("death");
self.ac130weapon = "1";
self thread Notify_Mods("^5105mm Cannon Ready For Action!");
self takeallweapons();
self giveWeapon( "30cal_mp" );
self switchToWeapon( "30cal_mp" );
while(1)
{
if(self.ac130weapon == "1")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13040mm()
{
self endon ("death");
self.ac130weapon = "2";
self thread Notify_Mods("^340mm Cannon Ready For Action!");
while(1)
{
if(self.ac130weapon == "2")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13020mm()
{
self endon("death");
self.ac130weapon = "3";
self thread Notify_Mods("^220mm Gun Ready For Action!");
self takeallweapons();
self giveWeapon( "fg42_mp" );
self switchToWeapon( "fg42_mp" );
}
ac130timer( duration )
{
level.HUDItem[ "timer" ] = newClientHudElem( self );
level.HUDItem[ "timer" ].x = -100;
level.HUDItem[ "timer" ].y = 50;
level.HUDItem[ "timer" ].alignX = "right";
level.HUDItem[ "timer" ].alignY = "bottom";
level.HUDItem[ "timer" ].horzAlign = "right";
level.HUDItem[ "timer" ].vertAlign = "bottom";
level.HUDItem[ "timer" ].font = "objective";
level.HUDItem[ "timer" ].fontScale = 2.5;
level.HUDItem[ "timer" ] setTimer( 60.0 );
level.HUDItem[ "timer" ].alpha = 1.0;
level.HUDItem[ "timer" ] setTimer( duration );
self waittill( "death" );
level.HUDItem[ "timer" ] destroy();
}

Notify_Mods( msg ){
notifier = createFontString( "default", 1.3, self );
notifier setPoint( "BOTTOM RIGHT", "BOTTOM RIGHT", -5, -35 );
notifier SetText( msg + "");wait 1;
notifier SetText("");}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to .Kane. for this useful post:

AMNE, bnader, iReset Nigga
07-05-2011, 05:06 AM #11
pretty cool i guess:mask:
07-05-2011, 06:46 AM #12
Karoolus
I'm the W@W Menu Guy !
already had it, but NICE anyway Winky Winky

Eddie should update his waw patch code list.. it should contain almost every script for WAW, both zombies & MP
07-05-2011, 06:59 AM #13
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Karoolus View Post
already had it, but NICE anyway Winky Winky

Eddie should update his waw patch code list.. it should contain almost every script for WAW, both zombies & MP


i know, if i have time tomorow, i will make a huge thread(zombie page and multiplayer page)
07-05-2011, 07:41 AM #14
Dreamcather
Call me Eddie Winky Winky
Originally posted by D34TH View Post
i know, if i have time tomorow, i will make a huge thread(zombie page and multiplayer page)


Don't do that, I just making Free For All and my own zombie patch so I have no time.

---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------

Originally posted by Karoolus View Post
already had it, but NICE anyway Winky Winky

Eddie should update his waw patch code list.. it should contain almost every script for WAW, both zombies & MP


I come Winky Winky
Leet me make my Free For All done then I will,
I think I going to make Care Package and a new Lunar Lander Smile
07-05-2011, 09:02 AM #15
Skyl1n3
DO SOMETHING THEN!
Originally posted by .Kane. View Post
Heres the AC130 for multiplayer. It hasn't been posted so here. This is from Eddie Meduzas patch.

    
AC130(){
self endon("death");
self takeallweapons();
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");
self setClientDvar("cg_drawGun","0");
self setClientDvar("cg_drawCrosshair","0");
self setClientDvar("g_gravity","1");
self setClientDvar("player_sustainAmmo","1");
self.maxhealth = 90000;
self.health = self.maxhealth;
visionSetNaked( "kamikaze", 0.2 );
wait 0.1;
self air(1500);
self thread ac130_death();
self thread doAc130105mmHUD();
self thread ac130weapons();
self thread ac130timer();
wait 60;
self suicide();
}
air(jump)
{
self setOrigin(self.origin+(0,0,jump));
}
ac130_death(){
self waittill("death");
self notify("DESTROY");
self notify("DELETE");
self notify("NULL");
self setClientDvar("cg_drawGun","1");
self setClientDvar("cg_drawCrosshair","1");
self setClientDvar("g_gravity","0");
self setClientDvar("player_sustainAmmo","0");
visionSetNaked( "default", 0.2 );
self.maxhealth = 100;
self.health = self.maxhealth;
}
doAc130105mmHUD()
{
self thread ac130boxleftvert();
self thread ac130boxrightvert();
self thread ac130boxtophorz();
self thread ac130boxbottomhorz();
self thread ac130topline();
self thread ac130bottomline();
self thread ac130leftline();
self thread ac130rightline();
self thread ac130topleftleft();
self thread ac130toplefttop();
self thread ac130toprightright();
self thread ac130toprighttop();
self thread ac130bottomleftleft();
self thread ac130bottomleftbottom();
self thread ac130bottomrightright();
self thread ac130bottomrightbottom();
}

ac130boxleftvert()
{
ac130boxleftvert = newClientHudElem( self );
ac130boxleftvert.x = -30;
ac130boxleftvert.y = 0;
ac130boxleftvert.alignX = "center";
ac130boxleftvert.alignY = "middle";
ac130boxleftvert.horzAlign = "center";
ac130boxleftvert.vertAlign = "middle";
ac130boxleftvert.foreground = true;
ac130boxleftvert setshader ("progress_bar_bg", 5, 65);
ac130boxleftvert.alpha = 1;
self waittill ("DESTROY");
ac130boxleftvert destroy();
}

ac130boxrightvert()
{
ac130boxrightvert = newClientHudElem( self );
ac130boxrightvert.x = 30;
ac130boxrightvert.y = 0;
ac130boxrightvert.alignX = "center";
ac130boxrightvert.alignY = "middle";
ac130boxrightvert.horzAlign = "center";
ac130boxrightvert.vertAlign = "middle";
ac130boxrightvert.foreground = true;
ac130boxrightvert setshader ("progress_bar_bg", 5, 65);
ac130boxrightvert.alpha = 1;
self waittill ("DESTROY");
ac130boxrightvert destroy();
}

ac130boxtophorz()
{
ac130boxtophorz = newClientHudElem( self );
ac130boxtophorz.x = 0;
ac130boxtophorz.y = -25;
ac130boxtophorz.alignX = "center";
ac130boxtophorz.alignY = "middle";
ac130boxtophorz.horzAlign = "center";
ac130boxtophorz.vertAlign = "middle";
ac130boxtophorz.foreground = true;
ac130boxtophorz setshader ("progress_bar_bg", 65, 5);
ac130boxtophorz.alpha = 1;
self waittill ("DESTROY");
ac130boxtophorz destroy();
}

ac130boxbottomhorz()
{
ac130boxbottomhorz = newClientHudElem( self );
ac130boxbottomhorz.x = 0;
ac130boxbottomhorz.y = 25;
ac130boxbottomhorz.alignX = "center";
ac130boxbottomhorz.alignY = "middle";
ac130boxbottomhorz.horzAlign = "center";
ac130boxbottomhorz.vertAlign = "middle";
ac130boxbottomhorz.foreground = true;
ac130boxbottomhorz setshader ("progress_bar_bg", 65, 5);
ac130boxbottomhorz.alpha = 1;
self waittill ("DESTROY");
ac130boxbottomhorz destroy();
}

ac130topline()
{
ac130topline = newClientHudElem( self );
ac130topline.x = 0;
ac130topline.y = -50;
ac130topline.alignX = "center";
ac130topline.alignY = "middle";
ac130topline.horzAlign = "center";
ac130topline.vertAlign = "middle";
ac130topline.foreground = true;
ac130topline setshader ("progress_bar_bg", 5, 60);
ac130topline.alpha = 1;
self waittill ("DESTROY");
ac130topline destroy();
}

ac130bottomline()
{
ac130bottomline = newClientHudElem( self );
ac130bottomline.x = 0;
ac130bottomline.y = 50;
ac130bottomline.alignX = "center";
ac130bottomline.alignY = "middle";
ac130bottomline.horzAlign = "center";
ac130bottomline.vertAlign = "middle";
ac130bottomline.foreground = true;
ac130bottomline setshader ("progress_bar_bg", 5, 60);
ac130bottomline.alpha = 1;
self waittill ("DESTROY");
ac130bottomline destroy();
}

ac130leftline()
{
ac130leftline = newClientHudElem( self );
ac130leftline.x = -64.5;
ac130leftline.y = 0;
ac130leftline.alignX = "center";
ac130leftline.alignY = "middle";
ac130leftline.horzAlign = "center";
ac130leftline.vertAlign = "middle";
ac130leftline.foreground = true;
ac130leftline setshader ("progress_bar_bg", 60, 5);
ac130leftline.alpha = 1;
self waittill ("DESTROY");
ac130leftline destroy();
}

ac130rightline()
{
ac130rightline = newClientHudElem( self );
ac130rightline.x = 64;
ac130rightline.y = 0;
ac130rightline.alignX = "center";
ac130rightline.alignY = "middle";
ac130rightline.horzAlign = "center";
ac130rightline.vertAlign = "middle";
ac130rightline.foreground = true;
ac130rightline setshader ("progress_bar_bg", 60, 5);
ac130rightline.alpha = 1;
self waittill ("DESTROY");
ac130rightline destroy();
}

ac130topleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -125;
ac130topll.y = -87;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("DESTROY");
ac130topll destroy();
}

ac130toplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -110;
ac130toplt.y = -100;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("DESTROY");
ac130toplt destroy();
}

ac130toprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 125;
ac130toprr.y = -87;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("DESTROY");
ac130toprr destroy();
}

ac130toprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 110;
ac130toprt.y = -100;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("DESTROY");
ac130toprt destroy();
}

ac130bottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -125;
ac130bottomll.y = 87;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("DESTROY");
ac130bottomll destroy();
}

ac130bottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -110;
ac130bottomlb.y = 100;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("DESTROY");
ac130bottomlb destroy();
}

ac130bottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 125;
ac130bottomrr.y = 87;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("DESTROY");
ac130bottomrr destroy();
}

ac130bottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 110;
ac130bottomrb.y = 100;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("DESTROY");
ac130bottomrb destroy();
}

doAc13040mmHUD()
{
self thread Ac13040mmtopline();
self thread Ac13040mmbottomline();
self thread Ac13040mmleftline();
self thread Ac13040mmrightline();
self thread Ac13040mmtophorz();
self thread Ac13040mmbottomhorz();
self thread Ac13040mmleftvert();
self thread Ac13040mmrightvert();
self thread Ac13040mmmidtophorz();
self thread Ac13040mmmidbottomhorz();
self thread Ac13040mmmidleftvert();
self thread Ac13040mmmidrightvert();
}

Ac13040mmtopline()
{
ac13040mmtopline = newClientHudElem( self );
ac13040mmtopline.x = 0;
ac13040mmtopline.y = -70;
ac13040mmtopline.alignX = "center";
ac13040mmtopline.alignY = "middle";
ac13040mmtopline.horzAlign = "center";
ac13040mmtopline.vertAlign = "middle";
ac13040mmtopline.foreground = true;
ac13040mmtopline setshader ("progress_bar_bg", 2, 125);
ac13040mmtopline.alpha = 1;
self waittill ("DELETE");
ac13040mmtopline destroy();
}

Ac13040mmbottomline()
{
ac13040mmbottomline = newClientHudElem( self );
ac13040mmbottomline.x = 0;
ac13040mmbottomline.y = 70;
ac13040mmbottomline.alignX = "center";
ac13040mmbottomline.alignY = "middle";
ac13040mmbottomline.horzAlign = "center";
ac13040mmbottomline.vertAlign = "middle";
ac13040mmbottomline.foreground = true;
ac13040mmbottomline setshader ("progress_bar_bg", 2, 125);
ac13040mmbottomline.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomline destroy();
}

Ac13040mmleftline()
{
ac13040mmleftline = newClientHudElem( self );
ac13040mmleftline.x = -85;
ac13040mmleftline.y = 0;
ac13040mmleftline.alignX = "center";
ac13040mmleftline.alignY = "middle";
ac13040mmleftline.horzAlign = "center";
ac13040mmleftline.vertAlign = "middle";
ac13040mmleftline.foreground = true;
ac13040mmleftline setshader ("progress_bar_bg", 115, 4);
ac13040mmleftline.alpha = 1;
self waittill ("DELETE");
ac13040mmleftline destroy();
}

Ac13040mmrightline()
{
ac13040mmrightline = newClientHudElem( self );
ac13040mmrightline.x = 85;
ac13040mmrightline.y = 0;
ac13040mmrightline.alignX = "center";
ac13040mmrightline.alignY = "middle";
ac13040mmrightline.horzAlign = "center";
ac13040mmrightline.vertAlign = "middle";
ac13040mmrightline.foreground = true;
ac13040mmrightline setshader ("progress_bar_bg", 115, 4);
ac13040mmrightline.alpha = 1;
self waittill ("DELETE");
ac13040mmrightline destroy();
}

Ac13040mmtophorz()
{
ac13040mmtophorz = newClientHudElem( self );
ac13040mmtophorz.x = 0;
ac13040mmtophorz.y = -118;
ac13040mmtophorz.alignX = "center";
ac13040mmtophorz.alignY = "middle";
ac13040mmtophorz.horzAlign = "center";
ac13040mmtophorz.vertAlign = "middle";
ac13040mmtophorz.foreground = true;
ac13040mmtophorz setshader ("progress_bar_bg", 30, 3);
ac13040mmtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmtophorz destroy();
}

Ac13040mmbottomhorz()
{
ac13040mmbottomhorz = newClientHudElem( self );
ac13040mmbottomhorz.x = 0;
ac13040mmbottomhorz.y = 118;
ac13040mmbottomhorz.alignX = "center";
ac13040mmbottomhorz.alignY = "middle";
ac13040mmbottomhorz.horzAlign = "center";
ac13040mmbottomhorz.vertAlign = "middle";
ac13040mmbottomhorz.foreground = true;
ac13040mmbottomhorz setshader ("progress_bar_bg", 30, 3);
ac13040mmbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomhorz destroy();
}

Ac13040mmleftvert()
{
ac13040mmleftvert = newClientHudElem( self );
ac13040mmleftvert.x = -142;
ac13040mmleftvert.y = 0;
ac13040mmleftvert.alignX = "center";
ac13040mmleftvert.alignY = "middle";
ac13040mmleftvert.horzAlign = "center";
ac13040mmleftvert.vertAlign = "middle";
ac13040mmleftvert.foreground = true;
ac13040mmleftvert setshader ("progress_bar_bg", 3, 30);
ac13040mmleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmleftvert destroy();
}

Ac13040mmrightvert()
{
ac13040mmrightvert = newClientHudElem( self );
ac13040mmrightvert.x = 142;
ac13040mmrightvert.y = 0;
ac13040mmrightvert.alignX = "center";
ac13040mmrightvert.alignY = "middle";
ac13040mmrightvert.horzAlign = "center";
ac13040mmrightvert.vertAlign = "middle";
ac13040mmrightvert.foreground = true;
ac13040mmrightvert setshader ("progress_bar_bg", 3, 30);
ac13040mmrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmrightvert destroy();
}

Ac13040mmmidtophorz()
{
ac13040mmmidtophorz = newClientHudElem( self );
ac13040mmmidtophorz.x = 0;
ac13040mmmidtophorz.y = -69;
ac13040mmmidtophorz.alignX = "center";
ac13040mmmidtophorz.alignY = "middle";
ac13040mmmidtophorz.horzAlign = "center";
ac13040mmmidtophorz.vertAlign = "middle";
ac13040mmmidtophorz.foreground = true;
ac13040mmmidtophorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidtophorz destroy();
}

Ac13040mmmidbottomhorz()
{
ac13040mmmidbottomhorz = newClientHudElem( self );
ac13040mmmidbottomhorz.x = 0;
ac13040mmmidbottomhorz.y = 69;
ac13040mmmidbottomhorz.alignX = "center";
ac13040mmmidbottomhorz.alignY = "middle";
ac13040mmmidbottomhorz.horzAlign = "center";
ac13040mmmidbottomhorz.vertAlign = "middle";
ac13040mmmidbottomhorz.foreground = true;
ac13040mmmidbottomhorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidbottomhorz destroy();
}

Ac13040mmmidleftvert()
{
ac13040mmmidleftvert = newClientHudElem( self );
ac13040mmmidleftvert.x = -81;
ac13040mmmidleftvert.y = 0;
ac13040mmmidleftvert.alignX = "center";
ac13040mmmidleftvert.alignY = "middle";
ac13040mmmidleftvert.horzAlign = "center";
ac13040mmmidleftvert.vertAlign = "middle";
ac13040mmmidleftvert.foreground = true;
ac13040mmmidleftvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidleftvert destroy();
}

Ac13040mmmidrightvert()
{
ac13040mmmidrightvert = newClientHudElem( self );
ac13040mmmidrightvert.x = 81;
ac13040mmmidrightvert.y = 0;
ac13040mmmidrightvert.alignX = "center";
ac13040mmmidrightvert.alignY = "middle";
ac13040mmmidrightvert.horzAlign = "center";
ac13040mmmidrightvert.vertAlign = "middle";
ac13040mmmidrightvert.foreground = true;
ac13040mmmidrightvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidrightvert destroy();
}

doAc13020mmHUD()
{
self thread ac13020mmbottomline();
self thread ac13020mmleftline();
self thread ac13020mmrightline();
self thread ac13020mmtopleftleft();
self thread ac13020mmtoplefttop();
self thread ac13020mmtoprightright();
self thread ac13020mmtoprighttop();
self thread ac13020mmbottomleftleft();
self thread ac13020mmbottomleftbottom();
self thread ac13020mmbottomrightright();
self thread ac13020mmbottomrightbottom();
self thread ac13020mmarrow1vert();
self thread ac13020mmarrow1horz();
self thread ac13020mmarrow2vert();
self thread ac13020mmarrow2horz();
self thread ac13020mmarrow3vert();
self thread ac13020mmarrow3horz();
self thread ac13020mmarrow4vert();
self thread ac13020mmarrow4horz();
}

ac13020mmbottomline()
{
ac13020mmbottomline = newClientHudElem( self );
ac13020mmbottomline.x = 0;
ac13020mmbottomline.y = 20;
ac13020mmbottomline.alignX = "center";
ac13020mmbottomline.alignY = "middle";
ac13020mmbottomline.horzAlign = "center";
ac13020mmbottomline.vertAlign = "middle";
ac13020mmbottomline.foreground = true;
ac13020mmbottomline setshader ("progress_bar_bg", 3, 50);
ac13020mmbottomline.alpha = 1;
self waittill ("NULL");
ac13020mmbottomline destroy();
}

ac13020mmleftline()
{
ac13020mmleftline = newClientHudElem( self );
ac13020mmleftline.x = -25;
ac13020mmleftline.y = 0;
ac13020mmleftline.alignX = "center";
ac13020mmleftline.alignY = "middle";
ac13020mmleftline.horzAlign = "center";
ac13020mmleftline.vertAlign = "middle";
ac13020mmleftline.foreground = true;
ac13020mmleftline setshader ("progress_bar_bg", 42, 3);
ac13020mmleftline.alpha = 1;
self waittill ("NULL");
ac13020mmleftline destroy();
}

ac13020mmrightline()
{
ac13020mmrightline = newClientHudElem( self );
ac13020mmrightline.x = 25;
ac13020mmrightline.y = 0;
ac13020mmrightline.alignX = "center";
ac13020mmrightline.alignY = "middle";
ac13020mmrightline.horzAlign = "center";
ac13020mmrightline.vertAlign = "middle";
ac13020mmrightline.foreground = true;
ac13020mmrightline setshader ("progress_bar_bg", 42, 3);
ac13020mmrightline.alpha = 1;
self waittill ("NULL");
ac13020mmrightline destroy();
}

ac13020mmtopleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -75;
ac130topll.y = -47;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("NULL");
ac130topll destroy();
}

ac13020mmtoplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -60;
ac130toplt.y = -60;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("NULL");
ac130toplt destroy();
}

ac13020mmtoprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 75;
ac130toprr.y = -47;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("NULL");
ac130toprr destroy();
}

ac13020mmtoprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 60;
ac130toprt.y = -60;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("NULL");
ac130toprt destroy();
}

ac13020mmbottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -75;
ac130bottomll.y = 47;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("NULL");
ac130bottomll destroy();
}

ac13020mmbottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -60;
ac130bottomlb.y = 60;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("NULL");
ac130bottomlb destroy();
}

ac13020mmbottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 75;
ac130bottomrr.y = 47;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("NULL");
ac130bottomrr destroy();
}

ac13020mmbottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 60;
ac130bottomrb.y = 60;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("NULL");
ac130bottomrb destroy();
}

ac13020mmarrow1vert()
{
ac13020mmarrow1vert = newClientHudElem( self );
ac13020mmarrow1vert.x = 10;
ac13020mmarrow1vert.y = 12;
ac13020mmarrow1vert.alignX = "center";
ac13020mmarrow1vert.alignY = "middle";
ac13020mmarrow1vert.horzAlign = "center";
ac13020mmarrow1vert.vertAlign = "middle";
ac13020mmarrow1vert.foreground = true;
ac13020mmarrow1vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow1vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1vert destroy();
}

ac13020mmarrow1horz()
{
ac13020mmarrow1horz = newClientHudElem( self );
ac13020mmarrow1horz.x = 15;
ac13020mmarrow1horz.y = 8;
ac13020mmarrow1horz.alignX = "center";
ac13020mmarrow1horz.alignY = "middle";
ac13020mmarrow1horz.horzAlign = "center";
ac13020mmarrow1horz.vertAlign = "middle";
ac13020mmarrow1horz.foreground = true;
ac13020mmarrow1horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow1horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1horz destroy();
}

ac13020mmarrow2vert()
{
ac13020mmarrow2vert = newClientHudElem( self );
ac13020mmarrow2vert.x = 15;
ac13020mmarrow2vert.y = 17;
ac13020mmarrow2vert.alignX = "center";
ac13020mmarrow2vert.alignY = "middle";
ac13020mmarrow2vert.horzAlign = "center";
ac13020mmarrow2vert.vertAlign = "middle";
ac13020mmarrow2vert.foreground = true;
ac13020mmarrow2vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow2vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2vert destroy();
}

ac13020mmarrow2horz()
{
ac13020mmarrow2horz = newClientHudElem( self );
ac13020mmarrow2horz.x = 20;
ac13020mmarrow2horz.y = 13;
ac13020mmarrow2horz.alignX = "center";
ac13020mmarrow2horz.alignY = "middle";
ac13020mmarrow2horz.horzAlign = "center";
ac13020mmarrow2horz.vertAlign = "middle";
ac13020mmarrow2horz.foreground = true;
ac13020mmarrow2horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow2horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2horz destroy();
}

ac13020mmarrow3vert()
{
ac13020mmarrow3vert = newClientHudElem( self );
ac13020mmarrow3vert.x = 20;
ac13020mmarrow3vert.y = 22;
ac13020mmarrow3vert.alignX = "center";
ac13020mmarrow3vert.alignY = "middle";
ac13020mmarrow3vert.horzAlign = "center";
ac13020mmarrow3vert.vertAlign = "middle";
ac13020mmarrow3vert.foreground = true;
ac13020mmarrow3vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow3vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3vert destroy();
}

ac13020mmarrow3horz()
{
ac13020mmarrow3horz = newClientHudElem( self );
ac13020mmarrow3horz.x = 25;
ac13020mmarrow3horz.y = 18;
ac13020mmarrow3horz.alignX = "center";
ac13020mmarrow3horz.alignY = "middle";
ac13020mmarrow3horz.horzAlign = "center";
ac13020mmarrow3horz.vertAlign = "middle";
ac13020mmarrow3horz.foreground = true;
ac13020mmarrow3horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow3horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3horz destroy();
}

ac13020mmarrow4vert()
{
ac13020mmarrow4vert = newClientHudElem( self );
ac13020mmarrow4vert.x = 25;
ac13020mmarrow4vert.y = 27;
ac13020mmarrow4vert.alignX = "center";
ac13020mmarrow4vert.alignY = "middle";
ac13020mmarrow4vert.horzAlign = "center";
ac13020mmarrow4vert.vertAlign = "middle";
ac13020mmarrow4vert.foreground = true;
ac13020mmarrow4vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow4vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4vert destroy();
}

ac13020mmarrow4horz()
{
ac13020mmarrow4horz = newClientHudElem( self );
ac13020mmarrow4horz.x = 30;
ac13020mmarrow4horz.y = 23;
ac13020mmarrow4horz.alignX = "center";
ac13020mmarrow4horz.alignY = "middle";
ac13020mmarrow4horz.horzAlign = "center";
ac13020mmarrow4horz.vertAlign = "middle";
ac13020mmarrow4horz.foreground = true;
ac13020mmarrow4horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow4horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4horz destroy();
}

ac130weapons()
{
self endon("death");
for(;Winky Winky
{
self.ac130weapon = "1";
if(self.ac130weapon == 1)
{
self thread ac130105mm();
self thread doAc130105mmHUD();
self notify("NULL");
}
wait 1;
self waittill("Pressed_Square");
self.ac130weapon = "2";
if(self.ac130weapon == 2)
{
self thread ac13040mm();
self thread doAc13040mmHUD();
self notify("DESTROY");
}
wait 1;
self waittill("Pressed_Square");
self.ac130weapon = "3";
if(self.ac130weapon == 3)
{
self thread ac13020mm();
self thread doAc13020mmHUD();
self notify("DELETE");
}
wait 2;
self waittill("Pressed_Square");
}
}

ac130105mm()
{
self endon ("death");
self.ac130weapon = "1";
self thread Notify_Mods("^5105mm Cannon Ready For Action!");
self takeallweapons();
self giveWeapon( "30cal_mp" );
self switchToWeapon( "30cal_mp" );
while(1)
{
if(self.ac130weapon == "1")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13040mm()
{
self endon ("death");
self.ac130weapon = "2";
self thread Notify_Mods("^340mm Cannon Ready For Action!");
while(1)
{
if(self.ac130weapon == "2")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13020mm()
{
self endon("death");
self.ac130weapon = "3";
self thread Notify_Mods("^220mm Gun Ready For Action!");
self takeallweapons();
self giveWeapon( "fg42_mp" );
self switchToWeapon( "fg42_mp" );
}
ac130timer( duration )
{
level.HUDItem[ "timer" ] = newClientHudElem( self );
level.HUDItem[ "timer" ].x = -100;
level.HUDItem[ "timer" ].y = 50;
level.HUDItem[ "timer" ].alignX = "right";
level.HUDItem[ "timer" ].alignY = "bottom";
level.HUDItem[ "timer" ].horzAlign = "right";
level.HUDItem[ "timer" ].vertAlign = "bottom";
level.HUDItem[ "timer" ].font = "objective";
level.HUDItem[ "timer" ].fontScale = 2.5;
level.HUDItem[ "timer" ] setTimer( 60.0 );
level.HUDItem[ "timer" ].alpha = 1.0;
level.HUDItem[ "timer" ] setTimer( duration );
self waittill( "death" );
level.HUDItem[ "timer" ] destroy();
}

Notify_Mods( msg ){
notifier = createFontString( "default", 1.3, self );
notifier setPoint( "BOTTOM RIGHT", "BOTTOM RIGHT", -5, -35 );
notifier SetText( msg + "");wait 1;
notifier SetText("");}


Optimized version
    
AC130(){self endon("death");self takeallweapons();self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");self setClientDvar("cg_drawGun","0");self setClientDvar("cg_drawCrosshair","0");self setClientDvar("g_gravity","1");self setClientDvar("player_sustainAmmo","1");self.maxhealth=90000;self.health=self.maxhealth;visionSetNaked("kamikaze",0.2);wait 0.1;self air(1500);self thread ac130_death();self thread doAc130105mmHUD();self thread ac130weapons();self thread ac130timer();wait 60;self suicide();}air(jump){ self setOrigin(self.origin+(0,0,jump));}ac130_death(){self waittill("death");self notify("DESTROY");self notify("DELETE");self notify("NULL");self setClientDvar("cg_drawGun","1");self setClientDvar("cg_drawCrosshair","1");self setClientDvar("g_gravity","0");self setClientDvar("player_sustainAmmo","0");visionSetNaked("default",0.2);self.maxhealth=100;self.health=self.maxhealth;}doAc130105mmHUD(){ self thread ac130boxleftvert(); self thread ac130boxrightvert(); self thread ac130boxtophorz(); self thread ac130boxbottomhorz(); self thread ac130topline(); self thread ac130bottomline(); self thread ac130leftline(); self thread ac130rightline(); self thread ac130topleftleft(); self thread ac130toplefttop(); self thread ac130toprightright(); self thread ac130toprighttop(); self thread ac130bottomleftleft(); self thread ac130bottomleftbottom(); self thread ac130bottomrightright(); self thread ac130bottomrightbottom();}ac130boxleftvert(){ ac130boxleftvert=newClientHudElem(self); ac130boxleftvert.x=-30; ac130boxleftvert.y=0; ac130boxleftvert.alignX="center"; ac130boxleftvert.alignY="middle"; ac130boxleftvert.horzAlign="center"; ac130boxleftvert.vertAlign="middle"; ac130boxleftvert.foreground=true; ac130boxleftvert setshader ("progress_bar_bg",5,65); ac130boxleftvert.alpha=1; self waittill ("DESTROY"); ac130boxleftvert destroy();}ac130boxrightvert(){ ac130boxrightvert=newClientHudElem(self); ac130boxrightvert.x=30; ac130boxrightvert.y=0; ac130boxrightvert.alignX="center"; ac130boxrightvert.alignY="middle"; ac130boxrightvert.horzAlign="center"; ac130boxrightvert.vertAlign="middle"; ac130boxrightvert.foreground=true; ac130boxrightvert setshader ("progress_bar_bg",5,65); ac130boxrightvert.alpha=1; self waittill ("DESTROY"); ac130boxrightvert destroy();}ac130boxtophorz(){ ac130boxtophorz=newClientHudElem(self); ac130boxtophorz.x=0; ac130boxtophorz.y=-25; ac130boxtophorz.alignX="center"; ac130boxtophorz.alignY="middle"; ac130boxtophorz.horzAlign="center"; ac130boxtophorz.vertAlign="middle"; ac130boxtophorz.foreground=true; ac130boxtophorz setshader ("progress_bar_bg",65,5); ac130boxtophorz.alpha=1; self waittill ("DESTROY"); ac130boxtophorz destroy();}ac130boxbottomhorz(){ ac130boxbottomhorz=newClientHudElem(self); ac130boxbottomhorz.x=0; ac130boxbottomhorz.y=25; ac130boxbottomhorz.alignX="center"; ac130boxbottomhorz.alignY="middle"; ac130boxbottomhorz.horzAlign="center"; ac130boxbottomhorz.vertAlign="middle"; ac130boxbottomhorz.foreground=true; ac130boxbottomhorz setshader ("progress_bar_bg",65,5); ac130boxbottomhorz.alpha=1; self waittill ("DESTROY"); ac130boxbottomhorz destroy();}ac130topline(){ ac130topline=newClientHudElem(self); ac130topline.x=0; ac130topline.y=-50; ac130topline.alignX="center"; ac130topline.alignY="middle"; ac130topline.horzAlign="center"; ac130topline.vertAlign="middle"; ac130topline.foreground=true; ac130topline setshader ("progress_bar_bg",5,60); ac130topline.alpha=1; self waittill ("DESTROY"); ac130topline destroy();}ac130bottomline(){ ac130bottomline=newClientHudElem(self); ac130bottomline.x=0; ac130bottomline.y=50; ac130bottomline.alignX="center"; ac130bottomline.alignY="middle"; ac130bottomline.horzAlign="center"; ac130bottomline.vertAlign="middle"; ac130bottomline.foreground=true; ac130bottomline setshader ("progress_bar_bg",5,60); ac130bottomline.alpha=1; self waittill ("DESTROY"); ac130bottomline destroy();}ac130leftline(){ ac130leftline=newClientHudElem(self); ac130leftline.x=-64.5; ac130leftline.y=0; ac130leftline.alignX="center"; ac130leftline.alignY="middle"; ac130leftline.horzAlign="center"; ac130leftline.vertAlign="middle"; ac130leftline.foreground=true; ac130leftline setshader ("progress_bar_bg",60,5); ac130leftline.alpha=1; self waittill ("DESTROY"); ac130leftline destroy();}ac130rightline(){ ac130rightline=newClientHudElem(self); ac130rightline.x=64; ac130rightline.y=0; ac130rightline.alignX="center"; ac130rightline.alignY="middle"; ac130rightline.horzAlign="center"; ac130rightline.vertAlign="middle"; ac130rightline.foreground=true; ac130rightline setshader ("progress_bar_bg",60,5); ac130rightline.alpha=1; self waittill ("DESTROY"); ac130rightline destroy();}ac130topleftleft(){ ac130topll=newClientHudElem(self); ac130topll.x=-125; ac130topll.y=-87; ac130topll.alignX="center"; ac130topll.alignY="middle"; ac130topll.horzAlign="center"; ac130topll.vertAlign="middle"; ac130topll.foreground=true; ac130topll setshader ("progress_bar_bg",5,35); ac130topll.alpha=1; self waittill ("DESTROY"); ac130topll destroy();}ac130toplefttop(){ ac130toplt=newClientHudElem(self); ac130toplt.x=-110; ac130toplt.y=-100; ac130toplt.alignX="center"; ac130toplt.alignY="middle"; ac130toplt.horzAlign="center"; ac130toplt.vertAlign="middle"; ac130toplt.foreground=true; ac130toplt setshader ("progress_bar_bg",35,5); ac130toplt.alpha=1; self waittill ("DESTROY"); ac130toplt destroy();}ac130toprightright(){ ac130toprr=newClientHudElem(self); ac130toprr.x=125; ac130toprr.y=-87; ac130toprr.alignX="center"; ac130toprr.alignY="middle"; ac130toprr.horzAlign="center"; ac130toprr.vertAlign="middle"; ac130toprr.foreground=true; ac130toprr setshader ("progress_bar_bg",5,35); ac130toprr.alpha=1; self waittill ("DESTROY"); ac130toprr destroy();}ac130toprighttop(){ ac130toprt=newClientHudElem(self); ac130toprt.x=110; ac130toprt.y=-100; ac130toprt.alignX="center"; ac130toprt.alignY="middle"; ac130toprt.horzAlign="center"; ac130toprt.vertAlign="middle"; ac130toprt.foreground=true; ac130toprt setshader ("progress_bar_bg",35,5); ac130toprt.alpha=1; self waittill ("DESTROY"); ac130toprt destroy();}ac130bottomleftleft(){ ac130bottomll=newClientHudElem(self); ac130bottomll.x=-125; ac130bottomll.y=87; ac130bottomll.alignX="center"; ac130bottomll.alignY="middle"; ac130bottomll.horzAlign="center"; ac130bottomll.vertAlign="middle"; ac130bottomll.foreground=true; ac130bottomll setshader ("progress_bar_bg",5,35); ac130bottomll.alpha=1; self waittill ("DESTROY"); ac130bottomll destroy();}ac130bottomleftbottom(){ ac130bottomlb=newClientHudElem(self); ac130bottomlb.x=-110; ac130bottomlb.y=100; ac130bottomlb.alignX="center"; ac130bottomlb.alignY="middle"; ac130bottomlb.horzAlign="center"; ac130bottomlb.vertAlign="middle"; ac130bottomlb.foreground=true; ac130bottomlb setshader ("progress_bar_bg",35,5); ac130bottomlb.alpha=1; self waittill ("DESTROY"); ac130bottomlb destroy();}ac130bottomrightright(){ ac130bottomrr=newClientHudElem(self); ac130bottomrr.x=125; ac130bottomrr.y=87; ac130bottomrr.alignX="center"; ac130bottomrr.alignY="middle"; ac130bottomrr.horzAlign="center"; ac130bottomrr.vertAlign="middle"; ac130bottomrr.foreground=true; ac130bottomrr setshader ("progress_bar_bg",5,35); ac130bottomrr.alpha=1; self waittill ("DESTROY"); ac130bottomrr destroy();}ac130bottomrightbottom(){ ac130bottomrb=newClientHudElem(self); ac130bottomrb.x=110; ac130bottomrb.y=100; ac130bottomrb.alignX="center"; ac130bottomrb.alignY="middle"; ac130bottomrb.horzAlign="center"; ac130bottomrb.vertAlign="middle"; ac130bottomrb.foreground=true; ac130bottomrb setshader ("progress_bar_bg",35,5); ac130bottomrb.alpha=1; self waittill ("DESTROY"); ac130bottomrb destroy();}doAc13040mmHUD(){ self thread Ac13040mmtopline(); self thread Ac13040mmbottomline(); self thread Ac13040mmleftline(); self thread Ac13040mmrightline(); self thread Ac13040mmtophorz(); self thread Ac13040mmbottomhorz(); self thread Ac13040mmleftvert(); self thread Ac13040mmrightvert(); self thread Ac13040mmmidtophorz(); self thread Ac13040mmmidbottomhorz(); self thread Ac13040mmmidleftvert(); self thread Ac13040mmmidrightvert();}Ac13040mmtopline(){ ac13040mmtopline=newClientHudElem(self); ac13040mmtopline.x=0; ac13040mmtopline.y=-70; ac13040mmtopline.alignX="center"; ac13040mmtopline.alignY="middle"; ac13040mmtopline.horzAlign="center"; ac13040mmtopline.vertAlign="middle"; ac13040mmtopline.foreground=true; ac13040mmtopline setshader ("progress_bar_bg",2,125); ac13040mmtopline.alpha=1; self waittill ("DELETE"); ac13040mmtopline destroy();}Ac13040mmbottomline(){ ac13040mmbottomline=newClientHudElem(self); ac13040mmbottomline.x=0; ac13040mmbottomline.y=70; ac13040mmbottomline.alignX="center"; ac13040mmbottomline.alignY="middle"; ac13040mmbottomline.horzAlign="center"; ac13040mmbottomline.vertAlign="middle"; ac13040mmbottomline.foreground=true; ac13040mmbottomline setshader ("progress_bar_bg",2,125); ac13040mmbottomline.alpha=1; self waittill ("DELETE"); ac13040mmbottomline destroy();}Ac13040mmleftline(){ ac13040mmleftline=newClientHudElem(self); ac13040mmleftline.x=-85; ac13040mmleftline.y=0; ac13040mmleftline.alignX="center"; ac13040mmleftline.alignY="middle"; ac13040mmleftline.horzAlign="center"; ac13040mmleftline.vertAlign="middle"; ac13040mmleftline.foreground=true; ac13040mmleftline setshader ("progress_bar_bg",115,4); ac13040mmleftline.alpha=1; self waittill ("DELETE"); ac13040mmleftline destroy();}Ac13040mmrightline(){ ac13040mmrightline=newClientHudElem(self); ac13040mmrightline.x=85; ac13040mmrightline.y=0; ac13040mmrightline.alignX="center"; ac13040mmrightline.alignY="middle"; ac13040mmrightline.horzAlign="center"; ac13040mmrightline.vertAlign="middle"; ac13040mmrightline.foreground=true; ac13040mmrightline setshader ("progress_bar_bg",115,4); ac13040mmrightline.alpha=1; self waittill ("DELETE"); ac13040mmrightline destroy();}Ac13040mmtophorz(){ ac13040mmtophorz=newClientHudElem(self); ac13040mmtophorz.x=0; ac13040mmtophorz.y=-118; ac13040mmtophorz.alignX="center"; ac13040mmtophorz.alignY="middle"; ac13040mmtophorz.horzAlign="center"; ac13040mmtophorz.vertAlign="middle"; ac13040mmtophorz.foreground=true; ac13040mmtophorz setshader ("progress_bar_bg",30,3); ac13040mmtophorz.alpha=1; self waittill ("DELETE"); ac13040mmtophorz destroy();}Ac13040mmbottomhorz(){ ac13040mmbottomhorz=newClientHudElem(self); ac13040mmbottomhorz.x=0; ac13040mmbottomhorz.y=118; ac13040mmbottomhorz.alignX="center"; ac13040mmbottomhorz.alignY="middle"; ac13040mmbottomhorz.horzAlign="center"; ac13040mmbottomhorz.vertAlign="middle"; ac13040mmbottomhorz.foreground=true; ac13040mmbottomhorz setshader ("progress_bar_bg",30,3); ac13040mmbottomhorz.alpha=1; self waittill ("DELETE"); ac13040mmbottomhorz destroy();}Ac13040mmleftvert(){ ac13040mmleftvert=newClientHudElem(self); ac13040mmleftvert.x=-142; ac13040mmleftvert.y=0; ac13040mmleftvert.alignX="center"; ac13040mmleftvert.alignY="middle"; ac13040mmleftvert.horzAlign="center"; ac13040mmleftvert.vertAlign="middle"; ac13040mmleftvert.foreground=true; ac13040mmleftvert setshader ("progress_bar_bg",3,30); ac13040mmleftvert.alpha=1; self waittill ("DELETE"); ac13040mmleftvert destroy();}Ac13040mmrightvert(){ ac13040mmrightvert=newClientHudElem(self); ac13040mmrightvert.x=142; ac13040mmrightvert.y=0; ac13040mmrightvert.alignX="center"; ac13040mmrightvert.alignY="middle"; ac13040mmrightvert.horzAlign="center"; ac13040mmrightvert.vertAlign="middle"; ac13040mmrightvert.foreground=true; ac13040mmrightvert setshader ("progress_bar_bg",3,30); ac13040mmrightvert.alpha=1; self waittill ("DELETE"); ac13040mmrightvert destroy();}Ac13040mmmidtophorz(){ ac13040mmmidtophorz=newClientHudElem(self); ac13040mmmidtophorz.x=0; ac13040mmmidtophorz.y=-69; ac13040mmmidtophorz.alignX="center"; ac13040mmmidtophorz.alignY="middle"; ac13040mmmidtophorz.horzAlign="center"; ac13040mmmidtophorz.vertAlign="middle"; ac13040mmmidtophorz.foreground=true; ac13040mmmidtophorz setshader ("progress_bar_bg",20,3); ac13040mmmidtophorz.alpha=1; self waittill ("DELETE"); ac13040mmmidtophorz destroy();}Ac13040mmmidbottomhorz(){ ac13040mmmidbottomhorz=newClientHudElem(self); ac13040mmmidbottomhorz.x=0; ac13040mmmidbottomhorz.y=69; ac13040mmmidbottomhorz.alignX="center"; ac13040mmmidbottomhorz.alignY="middle"; ac13040mmmidbottomhorz.horzAlign="center"; ac13040mmmidbottomhorz.vertAlign="middle"; ac13040mmmidbottomhorz.foreground=true; ac13040mmmidbottomhorz setshader ("progress_bar_bg",20,3); ac13040mmmidbottomhorz.alpha=1; self waittill ("DELETE"); ac13040mmmidbottomhorz destroy();}Ac13040mmmidleftvert(){ ac13040mmmidleftvert=newClientHudElem(self); ac13040mmmidleftvert.x=-81; ac13040mmmidleftvert.y=0; ac13040mmmidleftvert.alignX="center"; ac13040mmmidleftvert.alignY="middle"; ac13040mmmidleftvert.horzAlign="center"; ac13040mmmidleftvert.vertAlign="middle"; ac13040mmmidleftvert.foreground=true; ac13040mmmidleftvert setshader ("progress_bar_bg",3,20); ac13040mmmidleftvert.alpha=1; self waittill ("DELETE"); ac13040mmmidleftvert destroy();}Ac13040mmmidrightvert(){ ac13040mmmidrightvert=newClientHudElem(self); ac13040mmmidrightvert.x=81; ac13040mmmidrightvert.y=0; ac13040mmmidrightvert.alignX="center"; ac13040mmmidrightvert.alignY="middle"; ac13040mmmidrightvert.horzAlign="center"; ac13040mmmidrightvert.vertAlign="middle"; ac13040mmmidrightvert.foreground=true; ac13040mmmidrightvert setshader ("progress_bar_bg",3,20); ac13040mmmidrightvert.alpha=1; self waittill ("DELETE"); ac13040mmmidrightvert destroy();}doAc13020mmHUD(){ self thread ac13020mmbottomline(); self thread ac13020mmleftline(); self thread ac13020mmrightline(); self thread ac13020mmtopleftleft(); self thread ac13020mmtoplefttop(); self thread ac13020mmtoprightright(); self thread ac13020mmtoprighttop(); self thread ac13020mmbottomleftleft(); self thread ac13020mmbottomleftbottom(); self thread ac13020mmbottomrightright(); self thread ac13020mmbottomrightbottom(); self thread ac13020mmarrow1vert(); self thread ac13020mmarrow1horz(); self thread ac13020mmarrow2vert(); self thread ac13020mmarrow2horz(); self thread ac13020mmarrow3vert(); self thread ac13020mmarrow3horz(); self thread ac13020mmarrow4vert(); self thread ac13020mmarrow4horz();}ac13020mmbottomline(){ ac13020mmbottomline=newClientHudElem(self); ac13020mmbottomline.x=0; ac13020mmbottomline.y=20; ac13020mmbottomline.alignX="center"; ac13020mmbottomline.alignY="middle"; ac13020mmbottomline.horzAlign="center"; ac13020mmbottomline.vertAlign="middle"; ac13020mmbottomline.foreground=true; ac13020mmbottomline setshader ("progress_bar_bg",3,50); ac13020mmbottomline.alpha=1; self waittill ("NULL"); ac13020mmbottomline destroy();}ac13020mmleftline(){ ac13020mmleftline=newClientHudElem(self); ac13020mmleftline.x=-25; ac13020mmleftline.y=0; ac13020mmleftline.alignX="center"; ac13020mmleftline.alignY="middle"; ac13020mmleftline.horzAlign="center"; ac13020mmleftline.vertAlign="middle"; ac13020mmleftline.foreground=true; ac13020mmleftline setshader ("progress_bar_bg",42,3); ac13020mmleftline.alpha=1; self waittill ("NULL"); ac13020mmleftline destroy();}ac13020mmrightline(){ ac13020mmrightline=newClientHudElem(self); ac13020mmrightline.x=25; ac13020mmrightline.y=0; ac13020mmrightline.alignX="center"; ac13020mmrightline.alignY="middle"; ac13020mmrightline.horzAlign="center"; ac13020mmrightline.vertAlign="middle"; ac13020mmrightline.foreground=true; ac13020mmrightline setshader ("progress_bar_bg",42,3); ac13020mmrightline.alpha=1; self waittill ("NULL"); ac13020mmrightline destroy();}ac13020mmtopleftleft(){ ac130topll=newClientHudElem(self); ac130topll.x=-75; ac130topll.y=-47; ac130topll.alignX="center"; ac130topll.alignY="middle"; ac130topll.horzAlign="center"; ac130topll.vertAlign="middle"; ac130topll.foreground=true; ac130topll setshader ("progress_bar_bg",5,35); ac130topll.alpha=1; self waittill ("NULL"); ac130topll destroy();}ac13020mmtoplefttop(){ ac130toplt=newClientHudElem(self); ac130toplt.x=-60; ac130toplt.y=-60; ac130toplt.alignX="center"; ac130toplt.alignY="middle"; ac130toplt.horzAlign="center"; ac130toplt.vertAlign="middle"; ac130toplt.foreground=true; ac130toplt setshader ("progress_bar_bg",35,5); ac130toplt.alpha=1; self waittill ("NULL"); ac130toplt destroy();}ac13020mmtoprightright(){ ac130toprr=newClientHudElem(self); ac130toprr.x=75; ac130toprr.y=-47; ac130toprr.alignX="center"; ac130toprr.alignY="middle"; ac130toprr.horzAlign="center"; ac130toprr.vertAlign="middle"; ac130toprr.foreground=true; ac130toprr setshader ("progress_bar_bg",5,35); ac130toprr.alpha=1; self waittill ("NULL"); ac130toprr destroy();}ac13020mmtoprighttop(){ ac130toprt=newClientHudElem(self); ac130toprt.x=60; ac130toprt.y=-60; ac130toprt.alignX="center"; ac130toprt.alignY="middle"; ac130toprt.horzAlign="center"; ac130toprt.vertAlign="middle"; ac130toprt.foreground=true; ac130toprt setshader ("progress_bar_bg",35,5); ac130toprt.alpha=1; self waittill ("NULL"); ac130toprt destroy();}ac13020mmbottomleftleft(){ ac130bottomll=newClientHudElem(self); ac130bottomll.x=-75; ac130bottomll.y=47; ac130bottomll.alignX="center"; ac130bottomll.alignY="middle"; ac130bottomll.horzAlign="center"; ac130bottomll.vertAlign="middle"; ac130bottomll.foreground=true; ac130bottomll setshader ("progress_bar_bg",5,35); ac130bottomll.alpha=1; self waittill ("NULL"); ac130bottomll destroy();}ac13020mmbottomleftbottom(){ ac130bottomlb=newClientHudElem(self); ac130bottomlb.x=-60; ac130bottomlb.y=60; ac130bottomlb.alignX="center"; ac130bottomlb.alignY="middle"; ac130bottomlb.horzAlign="center"; ac130bottomlb.vertAlign="middle"; ac130bottomlb.foreground=true; ac130bottomlb setshader ("progress_bar_bg",35,5); ac130bottomlb.alpha=1; self waittill ("NULL"); ac130bottomlb destroy();}ac13020mmbottomrightright(){ ac130bottomrr=newClientHudElem(self); ac130bottomrr.x=75; ac130bottomrr.y=47; ac130bottomrr.alignX="center"; ac130bottomrr.alignY="middle"; ac130bottomrr.horzAlign="center"; ac130bottomrr.vertAlign="middle"; ac130bottomrr.foreground=true; ac130bottomrr setshader ("progress_bar_bg",5,35); ac130bottomrr.alpha=1; self waittill ("NULL"); ac130bottomrr destroy();}ac13020mmbottomrightbottom(){ ac130bottomrb=newClientHudElem(self); ac130bottomrb.x=60; ac130bottomrb.y=60; ac130bottomrb.alignX="center"; ac130bottomrb.alignY="middle"; ac130bottomrb.horzAlign="center"; ac130bottomrb.vertAlign="middle"; ac130bottomrb.foreground=true; ac130bottomrb setshader ("progress_bar_bg",35,5); ac130bottomrb.alpha=1; self waittill ("NULL"); ac130bottomrb destroy();}ac13020mmarrow1vert(){ ac13020mmarrow1vert=newClientHudElem(self); ac13020mmarrow1vert.x=10; ac13020mmarrow1vert.y=12; ac13020mmarrow1vert.alignX="center"; ac13020mmarrow1vert.alignY="middle"; ac13020mmarrow1vert.horzAlign="center"; ac13020mmarrow1vert.vertAlign="middle"; ac13020mmarrow1vert.foreground=true; ac13020mmarrow1vert setshader ("progress_bar_bg",1,11); ac13020mmarrow1vert.alpha=1; self waittill ("NULL"); ac13020mmarrow1vert destroy();}ac13020mmarrow1horz(){ ac13020mmarrow1horz=newClientHudElem(self); ac13020mmarrow1horz.x=15; ac13020mmarrow1horz.y=8; ac13020mmarrow1horz.alignX="center"; ac13020mmarrow1horz.alignY="middle"; ac13020mmarrow1horz.horzAlign="center"; ac13020mmarrow1horz.vertAlign="middle"; ac13020mmarrow1horz.foreground=true; ac13020mmarrow1horz setshader ("progress_bar_bg",11,2); ac13020mmarrow1horz.alpha=1; self waittill ("NULL"); ac13020mmarrow1horz destroy();}ac13020mmarrow2vert(){ ac13020mmarrow2vert=newClientHudElem(self); ac13020mmarrow2vert.x=15; ac13020mmarrow2vert.y=17; ac13020mmarrow2vert.alignX="center"; ac13020mmarrow2vert.alignY="middle"; ac13020mmarrow2vert.horzAlign="center"; ac13020mmarrow2vert.vertAlign="middle"; ac13020mmarrow2vert.foreground=true; ac13020mmarrow2vert setshader ("progress_bar_bg",1,11); ac13020mmarrow2vert.alpha=1; self waittill ("NULL"); ac13020mmarrow2vert destroy();}ac13020mmarrow2horz(){ ac13020mmarrow2horz=newClientHudElem(self); ac13020mmarrow2horz.x=20; ac13020mmarrow2horz.y=13; ac13020mmarrow2horz.alignX="center"; ac13020mmarrow2horz.alignY="middle"; ac13020mmarrow2horz.horzAlign="center"; ac13020mmarrow2horz.vertAlign="middle"; ac13020mmarrow2horz.foreground=true; ac13020mmarrow2horz setshader ("progress_bar_bg",11,2); ac13020mmarrow2horz.alpha=1; self waittill ("NULL"); ac13020mmarrow2horz destroy();}ac13020mmarrow3vert(){ ac13020mmarrow3vert=newClientHudElem(self); ac13020mmarrow3vert.x=20; ac13020mmarrow3vert.y=22; ac13020mmarrow3vert.alignX="center"; ac13020mmarrow3vert.alignY="middle"; ac13020mmarrow3vert.horzAlign="center"; ac13020mmarrow3vert.vertAlign="middle"; ac13020mmarrow3vert.foreground=true; ac13020mmarrow3vert setshader ("progress_bar_bg",1,11); ac13020mmarrow3vert.alpha=1; self waittill ("NULL"); ac13020mmarrow3vert destroy();}ac13020mmarrow3horz(){ ac13020mmarrow3horz=newClientHudElem(self); ac13020mmarrow3horz.x=25; ac13020mmarrow3horz.y=18; ac13020mmarrow3horz.alignX="center"; ac13020mmarrow3horz.alignY="middle"; ac13020mmarrow3horz.horzAlign="center"; ac13020mmarrow3horz.vertAlign="middle"; ac13020mmarrow3horz.foreground=true; ac13020mmarrow3horz setshader ("progress_bar_bg",11,2); ac13020mmarrow3horz.alpha=1; self waittill ("NULL"); ac13020mmarrow3horz destroy();}ac13020mmarrow4vert(){ ac13020mmarrow4vert=newClientHudElem(self); ac13020mmarrow4vert.x=25; ac13020mmarrow4vert.y=27; ac13020mmarrow4vert.alignX="center"; ac13020mmarrow4vert.alignY="middle"; ac13020mmarrow4vert.horzAlign="center"; ac13020mmarrow4vert.vertAlign="middle"; ac13020mmarrow4vert.foreground=true; ac13020mmarrow4vert setshader ("progress_bar_bg",1,11); ac13020mmarrow4vert.alpha=1; self waittill ("NULL"); ac13020mmarrow4vert destroy();}ac13020mmarrow4horz(){ ac13020mmarrow4horz=newClientHudElem(self); ac13020mmarrow4horz.x=30; ac13020mmarrow4horz.y=23; ac13020mmarrow4horz.alignX="center"; ac13020mmarrow4horz.alignY="middle"; ac13020mmarrow4horz.horzAlign="center"; ac13020mmarrow4horz.vertAlign="middle"; ac13020mmarrow4horz.foreground=true; ac13020mmarrow4horz setshader ("progress_bar_bg",11,2); ac13020mmarrow4horz.alpha=1; self waittill ("NULL"); ac13020mmarrow4horz destroy();}ac130weapons(){ self endon("death"); for(;Winky Winky { self.ac130weapon="1"; if(self.ac130weapon=1) { self thread ac130105mm(); self thread doAc130105mmHUD(); self notify("NULL"); } wait 1; self waittill("Pressed_Square"); self.ac130weapon="2"; if(self.ac130weapon=2) { self thread ac13040mm(); self thread doAc13040mmHUD(); self notify("DESTROY"); } wait 1; self waittill("Pressed_Square"); self.ac130weapon="3"; if(self.ac130weapon=3) { self thread ac13020mm(); self thread doAc13020mmHUD(); self notify("DELETE"); } wait 2; self waittill("Pressed_Square"); }}ac130105mm(){ self endon ("death"); self.ac130weapon="1"; self thread Notify_Mods("^5105mm Cannon Ready For Action!"); self takeallweapons(); self giveWeapon("30cal_mp"); self switchToWeapon("30cal_mp"); while(1) { if(self.ac130weapon="1") { self waittill ("weapon_fired"); forward=self geteye(); vec=anglestoforward(self getPlayerAngles()); end=(vec[0] * 100000000,vec[1] * 100000000,vec[2] * 100000000); SPLOSIONlocation=BulletTrace(forward,end,0,self)["position"]; RadiusDamage(SPLOSIONlocation,300,600,200,self); playfx(loadfx("explosions/default_explosion"),SPLOSIONlocation); } }}ac13040mm(){ self endon ("death"); self.ac130weapon="2"; self thread Notify_Mods("^340mm Cannon Ready For Action!"); while(1) { if(self.ac130weapon="2") { self waittill ("weapon_fired"); forward=self geteye(); vec=anglestoforward(self getPlayerAngles()); end=(vec[0] * 100000000,vec[1] * 100000000,vec[2] * 100000000); SPLOSIONlocation=BulletTrace(forward,end,0,self)["position"]; RadiusDamage(SPLOSIONlocation,300,600,200,self); playfx(loadfx("explosions/default_explosion"),SPLOSIONlocation); } }}ac13020mm(){ self endon("death"); self.ac130weapon="3"; self thread Notify_Mods("^220mm Gun Ready For Action!"); self takeallweapons(); self giveWeapon("fg42_mp"); self switchToWeapon("fg42_mp");}ac130timer(duration){ level.HUDItem["timer"]=newClientHudElem(self); level.HUDItem["timer"].x=-100; level.HUDItem["timer"].y=50; level.HUDItem["timer"].alignX="right"; level.HUDItem["timer"].alignY="bottom"; level.HUDItem["timer"].horzAlign="right"; level.HUDItem["timer"].vertAlign="bottom"; level.HUDItem["timer"].font="objective"; level.HUDItem["timer"].fontScale=2.5; level.HUDItem["timer"] setTimer(60.0); level.HUDItem["timer"].alpha=1.0; level.HUDItem["timer"] setTimer(duration); self waittill("death"); level.HUDItem["timer"] destroy();}Notify_Mods(msg){notifier=createFontString("default",1.3,self);notifier setPoint("BOTTOM RIGHT","BOTTOM RIGHT",-5,-35);notifier SetText(msg+"");wait 1;notifier SetText("");}




If first one does not work try this one
    
AC130(){
self endon("death");
self takeallweapons();
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ac-130 Active!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Press [{+reload}] To Change Cannons!");
self setClientDvar("cg_drawGun","0");
self setClientDvar("cg_drawCrosshair","0");
self setClientDvar("g_gravity","1");
self setClientDvar("player_sustainAmmo","1");
self.maxhealth = 90000;
self.health = self.maxhealth;
visionSetNaked( "kamikaze", 0.2 );
wait 0.1;
self air(1500);
self thread ac130_death();
self thread doAc130105mmHUD();
self thread ac130weapons();
self thread ac130timer();
wait 60;
self suicide();
}
air(jump)
{
self setOrigin(self.origin+(0,0,jump));
}
ac130_death(){
self waittill("death");
self notify("DESTROY");
self notify("DELETE");
self notify("NULL");
self setClientDvar("cg_drawGun","1");
self setClientDvar("cg_drawCrosshair","1");
self setClientDvar("g_gravity","0");
self setClientDvar("player_sustainAmmo","0");
visionSetNaked( "default", 0.2 );
self.maxhealth = 100;
self.health = self.maxhealth;
}
doAc130105mmHUD()
{
self thread ac130boxleftvert();
self thread ac130boxrightvert();
self thread ac130boxtophorz();
self thread ac130boxbottomhorz();
self thread ac130topline();
self thread ac130bottomline();
self thread ac130leftline();
self thread ac130rightline();
self thread ac130topleftleft();
self thread ac130toplefttop();
self thread ac130toprightright();
self thread ac130toprighttop();
self thread ac130bottomleftleft();
self thread ac130bottomleftbottom();
self thread ac130bottomrightright();
self thread ac130bottomrightbottom();
}

ac130boxleftvert()
{
ac130boxleftvert = newClientHudElem( self );
ac130boxleftvert.x = -30;
ac130boxleftvert.y = 0;
ac130boxleftvert.alignX = "center";
ac130boxleftvert.alignY = "middle";
ac130boxleftvert.horzAlign = "center";
ac130boxleftvert.vertAlign = "middle";
ac130boxleftvert.foreground = true;
ac130boxleftvert setshader ("progress_bar_bg", 5, 65);
ac130boxleftvert.alpha = 1;
self waittill ("DESTROY");
ac130boxleftvert destroy();
}

ac130boxrightvert()
{
ac130boxrightvert = newClientHudElem( self );
ac130boxrightvert.x = 30;
ac130boxrightvert.y = 0;
ac130boxrightvert.alignX = "center";
ac130boxrightvert.alignY = "middle";
ac130boxrightvert.horzAlign = "center";
ac130boxrightvert.vertAlign = "middle";
ac130boxrightvert.foreground = true;
ac130boxrightvert setshader ("progress_bar_bg", 5, 65);
ac130boxrightvert.alpha = 1;
self waittill ("DESTROY");
ac130boxrightvert destroy();
}

ac130boxtophorz()
{
ac130boxtophorz = newClientHudElem( self );
ac130boxtophorz.x = 0;
ac130boxtophorz.y = -25;
ac130boxtophorz.alignX = "center";
ac130boxtophorz.alignY = "middle";
ac130boxtophorz.horzAlign = "center";
ac130boxtophorz.vertAlign = "middle";
ac130boxtophorz.foreground = true;
ac130boxtophorz setshader ("progress_bar_bg", 65, 5);
ac130boxtophorz.alpha = 1;
self waittill ("DESTROY");
ac130boxtophorz destroy();
}

ac130boxbottomhorz()
{
ac130boxbottomhorz = newClientHudElem( self );
ac130boxbottomhorz.x = 0;
ac130boxbottomhorz.y = 25;
ac130boxbottomhorz.alignX = "center";
ac130boxbottomhorz.alignY = "middle";
ac130boxbottomhorz.horzAlign = "center";
ac130boxbottomhorz.vertAlign = "middle";
ac130boxbottomhorz.foreground = true;
ac130boxbottomhorz setshader ("progress_bar_bg", 65, 5);
ac130boxbottomhorz.alpha = 1;
self waittill ("DESTROY");
ac130boxbottomhorz destroy();
}

ac130topline()
{
ac130topline = newClientHudElem( self );
ac130topline.x = 0;
ac130topline.y = -50;
ac130topline.alignX = "center";
ac130topline.alignY = "middle";
ac130topline.horzAlign = "center";
ac130topline.vertAlign = "middle";
ac130topline.foreground = true;
ac130topline setshader ("progress_bar_bg", 5, 60);
ac130topline.alpha = 1;
self waittill ("DESTROY");
ac130topline destroy();
}

ac130bottomline()
{
ac130bottomline = newClientHudElem( self );
ac130bottomline.x = 0;
ac130bottomline.y = 50;
ac130bottomline.alignX = "center";
ac130bottomline.alignY = "middle";
ac130bottomline.horzAlign = "center";
ac130bottomline.vertAlign = "middle";
ac130bottomline.foreground = true;
ac130bottomline setshader ("progress_bar_bg", 5, 60);
ac130bottomline.alpha = 1;
self waittill ("DESTROY");
ac130bottomline destroy();
}

ac130leftline()
{
ac130leftline = newClientHudElem( self );
ac130leftline.x = -64.5;
ac130leftline.y = 0;
ac130leftline.alignX = "center";
ac130leftline.alignY = "middle";
ac130leftline.horzAlign = "center";
ac130leftline.vertAlign = "middle";
ac130leftline.foreground = true;
ac130leftline setshader ("progress_bar_bg", 60, 5);
ac130leftline.alpha = 1;
self waittill ("DESTROY");
ac130leftline destroy();
}

ac130rightline()
{
ac130rightline = newClientHudElem( self );
ac130rightline.x = 64;
ac130rightline.y = 0;
ac130rightline.alignX = "center";
ac130rightline.alignY = "middle";
ac130rightline.horzAlign = "center";
ac130rightline.vertAlign = "middle";
ac130rightline.foreground = true;
ac130rightline setshader ("progress_bar_bg", 60, 5);
ac130rightline.alpha = 1;
self waittill ("DESTROY");
ac130rightline destroy();
}

ac130topleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -125;
ac130topll.y = -87;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("DESTROY");
ac130topll destroy();
}

ac130toplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -110;
ac130toplt.y = -100;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("DESTROY");
ac130toplt destroy();
}

ac130toprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 125;
ac130toprr.y = -87;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("DESTROY");
ac130toprr destroy();
}

ac130toprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 110;
ac130toprt.y = -100;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("DESTROY");
ac130toprt destroy();
}

ac130bottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -125;
ac130bottomll.y = 87;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("DESTROY");
ac130bottomll destroy();
}

ac130bottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -110;
ac130bottomlb.y = 100;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("DESTROY");
ac130bottomlb destroy();
}

ac130bottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 125;
ac130bottomrr.y = 87;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("DESTROY");
ac130bottomrr destroy();
}

ac130bottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 110;
ac130bottomrb.y = 100;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("DESTROY");
ac130bottomrb destroy();
}

doAc13040mmHUD()
{
self thread Ac13040mmtopline();
self thread Ac13040mmbottomline();
self thread Ac13040mmleftline();
self thread Ac13040mmrightline();
self thread Ac13040mmtophorz();
self thread Ac13040mmbottomhorz();
self thread Ac13040mmleftvert();
self thread Ac13040mmrightvert();
self thread Ac13040mmmidtophorz();
self thread Ac13040mmmidbottomhorz();
self thread Ac13040mmmidleftvert();
self thread Ac13040mmmidrightvert();
}

Ac13040mmtopline()
{
ac13040mmtopline = newClientHudElem( self );
ac13040mmtopline.x = 0;
ac13040mmtopline.y = -70;
ac13040mmtopline.alignX = "center";
ac13040mmtopline.alignY = "middle";
ac13040mmtopline.horzAlign = "center";
ac13040mmtopline.vertAlign = "middle";
ac13040mmtopline.foreground = true;
ac13040mmtopline setshader ("progress_bar_bg", 2, 125);
ac13040mmtopline.alpha = 1;
self waittill ("DELETE");
ac13040mmtopline destroy();
}

Ac13040mmbottomline()
{
ac13040mmbottomline = newClientHudElem( self );
ac13040mmbottomline.x = 0;
ac13040mmbottomline.y = 70;
ac13040mmbottomline.alignX = "center";
ac13040mmbottomline.alignY = "middle";
ac13040mmbottomline.horzAlign = "center";
ac13040mmbottomline.vertAlign = "middle";
ac13040mmbottomline.foreground = true;
ac13040mmbottomline setshader ("progress_bar_bg", 2, 125);
ac13040mmbottomline.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomline destroy();
}

Ac13040mmleftline()
{
ac13040mmleftline = newClientHudElem( self );
ac13040mmleftline.x = -85;
ac13040mmleftline.y = 0;
ac13040mmleftline.alignX = "center";
ac13040mmleftline.alignY = "middle";
ac13040mmleftline.horzAlign = "center";
ac13040mmleftline.vertAlign = "middle";
ac13040mmleftline.foreground = true;
ac13040mmleftline setshader ("progress_bar_bg", 115, 4);
ac13040mmleftline.alpha = 1;
self waittill ("DELETE");
ac13040mmleftline destroy();
}

Ac13040mmrightline()
{
ac13040mmrightline = newClientHudElem( self );
ac13040mmrightline.x = 85;
ac13040mmrightline.y = 0;
ac13040mmrightline.alignX = "center";
ac13040mmrightline.alignY = "middle";
ac13040mmrightline.horzAlign = "center";
ac13040mmrightline.vertAlign = "middle";
ac13040mmrightline.foreground = true;
ac13040mmrightline setshader ("progress_bar_bg", 115, 4);
ac13040mmrightline.alpha = 1;
self waittill ("DELETE");
ac13040mmrightline destroy();
}

Ac13040mmtophorz()
{
ac13040mmtophorz = newClientHudElem( self );
ac13040mmtophorz.x = 0;
ac13040mmtophorz.y = -118;
ac13040mmtophorz.alignX = "center";
ac13040mmtophorz.alignY = "middle";
ac13040mmtophorz.horzAlign = "center";
ac13040mmtophorz.vertAlign = "middle";
ac13040mmtophorz.foreground = true;
ac13040mmtophorz setshader ("progress_bar_bg", 30, 3);
ac13040mmtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmtophorz destroy();
}

Ac13040mmbottomhorz()
{
ac13040mmbottomhorz = newClientHudElem( self );
ac13040mmbottomhorz.x = 0;
ac13040mmbottomhorz.y = 118;
ac13040mmbottomhorz.alignX = "center";
ac13040mmbottomhorz.alignY = "middle";
ac13040mmbottomhorz.horzAlign = "center";
ac13040mmbottomhorz.vertAlign = "middle";
ac13040mmbottomhorz.foreground = true;
ac13040mmbottomhorz setshader ("progress_bar_bg", 30, 3);
ac13040mmbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmbottomhorz destroy();
}

Ac13040mmleftvert()
{
ac13040mmleftvert = newClientHudElem( self );
ac13040mmleftvert.x = -142;
ac13040mmleftvert.y = 0;
ac13040mmleftvert.alignX = "center";
ac13040mmleftvert.alignY = "middle";
ac13040mmleftvert.horzAlign = "center";
ac13040mmleftvert.vertAlign = "middle";
ac13040mmleftvert.foreground = true;
ac13040mmleftvert setshader ("progress_bar_bg", 3, 30);
ac13040mmleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmleftvert destroy();
}

Ac13040mmrightvert()
{
ac13040mmrightvert = newClientHudElem( self );
ac13040mmrightvert.x = 142;
ac13040mmrightvert.y = 0;
ac13040mmrightvert.alignX = "center";
ac13040mmrightvert.alignY = "middle";
ac13040mmrightvert.horzAlign = "center";
ac13040mmrightvert.vertAlign = "middle";
ac13040mmrightvert.foreground = true;
ac13040mmrightvert setshader ("progress_bar_bg", 3, 30);
ac13040mmrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmrightvert destroy();
}

Ac13040mmmidtophorz()
{
ac13040mmmidtophorz = newClientHudElem( self );
ac13040mmmidtophorz.x = 0;
ac13040mmmidtophorz.y = -69;
ac13040mmmidtophorz.alignX = "center";
ac13040mmmidtophorz.alignY = "middle";
ac13040mmmidtophorz.horzAlign = "center";
ac13040mmmidtophorz.vertAlign = "middle";
ac13040mmmidtophorz.foreground = true;
ac13040mmmidtophorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidtophorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidtophorz destroy();
}

Ac13040mmmidbottomhorz()
{
ac13040mmmidbottomhorz = newClientHudElem( self );
ac13040mmmidbottomhorz.x = 0;
ac13040mmmidbottomhorz.y = 69;
ac13040mmmidbottomhorz.alignX = "center";
ac13040mmmidbottomhorz.alignY = "middle";
ac13040mmmidbottomhorz.horzAlign = "center";
ac13040mmmidbottomhorz.vertAlign = "middle";
ac13040mmmidbottomhorz.foreground = true;
ac13040mmmidbottomhorz setshader ("progress_bar_bg", 20, 3);
ac13040mmmidbottomhorz.alpha = 1;
self waittill ("DELETE");
ac13040mmmidbottomhorz destroy();
}

Ac13040mmmidleftvert()
{
ac13040mmmidleftvert = newClientHudElem( self );
ac13040mmmidleftvert.x = -81;
ac13040mmmidleftvert.y = 0;
ac13040mmmidleftvert.alignX = "center";
ac13040mmmidleftvert.alignY = "middle";
ac13040mmmidleftvert.horzAlign = "center";
ac13040mmmidleftvert.vertAlign = "middle";
ac13040mmmidleftvert.foreground = true;
ac13040mmmidleftvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidleftvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidleftvert destroy();
}

Ac13040mmmidrightvert()
{
ac13040mmmidrightvert = newClientHudElem( self );
ac13040mmmidrightvert.x = 81;
ac13040mmmidrightvert.y = 0;
ac13040mmmidrightvert.alignX = "center";
ac13040mmmidrightvert.alignY = "middle";
ac13040mmmidrightvert.horzAlign = "center";
ac13040mmmidrightvert.vertAlign = "middle";
ac13040mmmidrightvert.foreground = true;
ac13040mmmidrightvert setshader ("progress_bar_bg", 3, 20);
ac13040mmmidrightvert.alpha = 1;
self waittill ("DELETE");
ac13040mmmidrightvert destroy();
}

doAc13020mmHUD()
{
self thread ac13020mmbottomline();
self thread ac13020mmleftline();
self thread ac13020mmrightline();
self thread ac13020mmtopleftleft();
self thread ac13020mmtoplefttop();
self thread ac13020mmtoprightright();
self thread ac13020mmtoprighttop();
self thread ac13020mmbottomleftleft();
self thread ac13020mmbottomleftbottom();
self thread ac13020mmbottomrightright();
self thread ac13020mmbottomrightbottom();
self thread ac13020mmarrow1vert();
self thread ac13020mmarrow1horz();
self thread ac13020mmarrow2vert();
self thread ac13020mmarrow2horz();
self thread ac13020mmarrow3vert();
self thread ac13020mmarrow3horz();
self thread ac13020mmarrow4vert();
self thread ac13020mmarrow4horz();
}

ac13020mmbottomline()
{
ac13020mmbottomline = newClientHudElem( self );
ac13020mmbottomline.x = 0;
ac13020mmbottomline.y = 20;
ac13020mmbottomline.alignX = "center";
ac13020mmbottomline.alignY = "middle";
ac13020mmbottomline.horzAlign = "center";
ac13020mmbottomline.vertAlign = "middle";
ac13020mmbottomline.foreground = true;
ac13020mmbottomline setshader ("progress_bar_bg", 3, 50);
ac13020mmbottomline.alpha = 1;
self waittill ("NULL");
ac13020mmbottomline destroy();
}

ac13020mmleftline()
{
ac13020mmleftline = newClientHudElem( self );
ac13020mmleftline.x = -25;
ac13020mmleftline.y = 0;
ac13020mmleftline.alignX = "center";
ac13020mmleftline.alignY = "middle";
ac13020mmleftline.horzAlign = "center";
ac13020mmleftline.vertAlign = "middle";
ac13020mmleftline.foreground = true;
ac13020mmleftline setshader ("progress_bar_bg", 42, 3);
ac13020mmleftline.alpha = 1;
self waittill ("NULL");
ac13020mmleftline destroy();
}

ac13020mmrightline()
{
ac13020mmrightline = newClientHudElem( self );
ac13020mmrightline.x = 25;
ac13020mmrightline.y = 0;
ac13020mmrightline.alignX = "center";
ac13020mmrightline.alignY = "middle";
ac13020mmrightline.horzAlign = "center";
ac13020mmrightline.vertAlign = "middle";
ac13020mmrightline.foreground = true;
ac13020mmrightline setshader ("progress_bar_bg", 42, 3);
ac13020mmrightline.alpha = 1;
self waittill ("NULL");
ac13020mmrightline destroy();
}

ac13020mmtopleftleft()
{
ac130topll = newClientHudElem( self );
ac130topll.x = -75;
ac130topll.y = -47;
ac130topll.alignX = "center";
ac130topll.alignY = "middle";
ac130topll.horzAlign = "center";
ac130topll.vertAlign = "middle";
ac130topll.foreground = true;
ac130topll setshader ("progress_bar_bg", 5, 35);
ac130topll.alpha = 1;
self waittill ("NULL");
ac130topll destroy();
}

ac13020mmtoplefttop()
{
ac130toplt = newClientHudElem( self );
ac130toplt.x = -60;
ac130toplt.y = -60;
ac130toplt.alignX = "center";
ac130toplt.alignY = "middle";
ac130toplt.horzAlign = "center";
ac130toplt.vertAlign = "middle";
ac130toplt.foreground = true;
ac130toplt setshader ("progress_bar_bg", 35, 5);
ac130toplt.alpha = 1;
self waittill ("NULL");
ac130toplt destroy();
}

ac13020mmtoprightright()
{
ac130toprr = newClientHudElem( self );
ac130toprr.x = 75;
ac130toprr.y = -47;
ac130toprr.alignX = "center";
ac130toprr.alignY = "middle";
ac130toprr.horzAlign = "center";
ac130toprr.vertAlign = "middle";
ac130toprr.foreground = true;
ac130toprr setshader ("progress_bar_bg", 5, 35);
ac130toprr.alpha = 1;
self waittill ("NULL");
ac130toprr destroy();
}

ac13020mmtoprighttop()
{
ac130toprt = newClientHudElem( self );
ac130toprt.x = 60;
ac130toprt.y = -60;
ac130toprt.alignX = "center";
ac130toprt.alignY = "middle";
ac130toprt.horzAlign = "center";
ac130toprt.vertAlign = "middle";
ac130toprt.foreground = true;
ac130toprt setshader ("progress_bar_bg", 35, 5);
ac130toprt.alpha = 1;
self waittill ("NULL");
ac130toprt destroy();
}

ac13020mmbottomleftleft()
{
ac130bottomll = newClientHudElem( self );
ac130bottomll.x = -75;
ac130bottomll.y = 47;
ac130bottomll.alignX = "center";
ac130bottomll.alignY = "middle";
ac130bottomll.horzAlign = "center";
ac130bottomll.vertAlign = "middle";
ac130bottomll.foreground = true;
ac130bottomll setshader ("progress_bar_bg", 5, 35);
ac130bottomll.alpha = 1;
self waittill ("NULL");
ac130bottomll destroy();
}

ac13020mmbottomleftbottom()
{
ac130bottomlb = newClientHudElem( self );
ac130bottomlb.x = -60;
ac130bottomlb.y = 60;
ac130bottomlb.alignX = "center";
ac130bottomlb.alignY = "middle";
ac130bottomlb.horzAlign = "center";
ac130bottomlb.vertAlign = "middle";
ac130bottomlb.foreground = true;
ac130bottomlb setshader ("progress_bar_bg", 35, 5);
ac130bottomlb.alpha = 1;
self waittill ("NULL");
ac130bottomlb destroy();
}

ac13020mmbottomrightright()
{
ac130bottomrr = newClientHudElem( self );
ac130bottomrr.x = 75;
ac130bottomrr.y = 47;
ac130bottomrr.alignX = "center";
ac130bottomrr.alignY = "middle";
ac130bottomrr.horzAlign = "center";
ac130bottomrr.vertAlign = "middle";
ac130bottomrr.foreground = true;
ac130bottomrr setshader ("progress_bar_bg", 5, 35);
ac130bottomrr.alpha = 1;
self waittill ("NULL");
ac130bottomrr destroy();
}

ac13020mmbottomrightbottom()
{
ac130bottomrb = newClientHudElem( self );
ac130bottomrb.x = 60;
ac130bottomrb.y = 60;
ac130bottomrb.alignX = "center";
ac130bottomrb.alignY = "middle";
ac130bottomrb.horzAlign = "center";
ac130bottomrb.vertAlign = "middle";
ac130bottomrb.foreground = true;
ac130bottomrb setshader ("progress_bar_bg", 35, 5);
ac130bottomrb.alpha = 1;
self waittill ("NULL");
ac130bottomrb destroy();
}

ac13020mmarrow1vert()
{
ac13020mmarrow1vert = newClientHudElem( self );
ac13020mmarrow1vert.x = 10;
ac13020mmarrow1vert.y = 12;
ac13020mmarrow1vert.alignX = "center";
ac13020mmarrow1vert.alignY = "middle";
ac13020mmarrow1vert.horzAlign = "center";
ac13020mmarrow1vert.vertAlign = "middle";
ac13020mmarrow1vert.foreground = true;
ac13020mmarrow1vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow1vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1vert destroy();
}

ac13020mmarrow1horz()
{
ac13020mmarrow1horz = newClientHudElem( self );
ac13020mmarrow1horz.x = 15;
ac13020mmarrow1horz.y = 8;
ac13020mmarrow1horz.alignX = "center";
ac13020mmarrow1horz.alignY = "middle";
ac13020mmarrow1horz.horzAlign = "center";
ac13020mmarrow1horz.vertAlign = "middle";
ac13020mmarrow1horz.foreground = true;
ac13020mmarrow1horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow1horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow1horz destroy();
}

ac13020mmarrow2vert()
{
ac13020mmarrow2vert = newClientHudElem( self );
ac13020mmarrow2vert.x = 15;
ac13020mmarrow2vert.y = 17;
ac13020mmarrow2vert.alignX = "center";
ac13020mmarrow2vert.alignY = "middle";
ac13020mmarrow2vert.horzAlign = "center";
ac13020mmarrow2vert.vertAlign = "middle";
ac13020mmarrow2vert.foreground = true;
ac13020mmarrow2vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow2vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2vert destroy();
}

ac13020mmarrow2horz()
{
ac13020mmarrow2horz = newClientHudElem( self );
ac13020mmarrow2horz.x = 20;
ac13020mmarrow2horz.y = 13;
ac13020mmarrow2horz.alignX = "center";
ac13020mmarrow2horz.alignY = "middle";
ac13020mmarrow2horz.horzAlign = "center";
ac13020mmarrow2horz.vertAlign = "middle";
ac13020mmarrow2horz.foreground = true;
ac13020mmarrow2horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow2horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow2horz destroy();
}

ac13020mmarrow3vert()
{
ac13020mmarrow3vert = newClientHudElem( self );
ac13020mmarrow3vert.x = 20;
ac13020mmarrow3vert.y = 22;
ac13020mmarrow3vert.alignX = "center";
ac13020mmarrow3vert.alignY = "middle";
ac13020mmarrow3vert.horzAlign = "center";
ac13020mmarrow3vert.vertAlign = "middle";
ac13020mmarrow3vert.foreground = true;
ac13020mmarrow3vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow3vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3vert destroy();
}

ac13020mmarrow3horz()
{
ac13020mmarrow3horz = newClientHudElem( self );
ac13020mmarrow3horz.x = 25;
ac13020mmarrow3horz.y = 18;
ac13020mmarrow3horz.alignX = "center";
ac13020mmarrow3horz.alignY = "middle";
ac13020mmarrow3horz.horzAlign = "center";
ac13020mmarrow3horz.vertAlign = "middle";
ac13020mmarrow3horz.foreground = true;
ac13020mmarrow3horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow3horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow3horz destroy();
}

ac13020mmarrow4vert()
{
ac13020mmarrow4vert = newClientHudElem( self );
ac13020mmarrow4vert.x = 25;
ac13020mmarrow4vert.y = 27;
ac13020mmarrow4vert.alignX = "center";
ac13020mmarrow4vert.alignY = "middle";
ac13020mmarrow4vert.horzAlign = "center";
ac13020mmarrow4vert.vertAlign = "middle";
ac13020mmarrow4vert.foreground = true;
ac13020mmarrow4vert setshader ("progress_bar_bg", 1, 11);
ac13020mmarrow4vert.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4vert destroy();
}

ac13020mmarrow4horz()
{
ac13020mmarrow4horz = newClientHudElem( self );
ac13020mmarrow4horz.x = 30;
ac13020mmarrow4horz.y = 23;
ac13020mmarrow4horz.alignX = "center";
ac13020mmarrow4horz.alignY = "middle";
ac13020mmarrow4horz.horzAlign = "center";
ac13020mmarrow4horz.vertAlign = "middle";
ac13020mmarrow4horz.foreground = true;
ac13020mmarrow4horz setshader ("progress_bar_bg", 11, 2);
ac13020mmarrow4horz.alpha = 1;
self waittill ("NULL");
ac13020mmarrow4horz destroy();
}

ac130weapons()
{
self endon("death");
for(;Winky Winky
{
self.ac130weapon = "1";
if(self.ac130weapon == 1)
{
self thread ac130105mm();
self thread doAc130105mmHUD();
self notify("NULL");
}
wait 1;
self waittill("use");
self.ac130weapon = "2";
if(self.ac130weapon == 2)
{
self thread ac13040mm();
self thread doAc13040mmHUD();
self notify("DESTROY");
}
wait 1;
self waittill("use");
self.ac130weapon = "3";
if(self.ac130weapon == 3)
{
self thread ac13020mm();
self thread doAc13020mmHUD();
self notify("DELETE");
}
wait 2;
self waittill("use");
}
}

ac130105mm()
{
self endon ("death");
self.ac130weapon = "1";
self thread Notify_Mods("^5105mm Cannon Ready For Action!");
self takeallweapons();
self giveWeapon( "30cal_mp" );
self switchToWeapon( "30cal_mp" );
while(1)
{
if(self.ac130weapon == "1")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13040mm()
{
self endon ("death");
self.ac130weapon = "2";
self thread Notify_Mods("^340mm Cannon Ready For Action!");
while(1)
{
if(self.ac130weapon == "2")
{
self waittill ( "weapon_fired" );
forward = self geteye();
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 100000000, vec[1] * 100000000, vec[2] * 100000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
}
}
}

ac13020mm()
{
self endon("death");
self.ac130weapon = "3";
self thread Notify_Mods("^220mm Gun Ready For Action!");
self takeallweapons();
self giveWeapon( "fg42_mp" );
self switchToWeapon( "fg42_mp" );
}
ac130timer( duration )
{
level.HUDItem[ "timer" ] = newClientHudElem( self );
level.HUDItem[ "timer" ].x = -100;
level.HUDItem[ "timer" ].y = 50;
level.HUDItem[ "timer" ].alignX = "right";
level.HUDItem[ "timer" ].alignY = "bottom";
level.HUDItem[ "timer" ].horzAlign = "right";
level.HUDItem[ "timer" ].vertAlign = "bottom";
level.HUDItem[ "timer" ].font = "objective";
level.HUDItem[ "timer" ].fontScale = 2.5;
level.HUDItem[ "timer" ] setTimer( 60.0 );
level.HUDItem[ "timer" ].alpha = 1.0;
level.HUDItem[ "timer" ] setTimer( duration );
self waittill( "death" );
level.HUDItem[ "timer" ] destroy();
}

Notify_Mods( msg ){
notifier = createFontString( "default", 1.3, self );
notifier setPoint( "BOTTOM RIGHT", "BOTTOM RIGHT", -5, -35 );
notifier SetText( msg + "");wait 1;
notifier SetText("");}


I saw what you did there. Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo