(adsbygoogle = window.adsbygoogle || []).push({});
Hey people im here to show your how to add a card tittle Shader. Copy this and paste it into your patch if it already has this if not it wont work cause of space error.
so your patch will look like this the MenuShad.
no go to precache and add this in init precacheShader("cardtitle_bloodsplat"); i will be using Bloodspla for this tutotial. now find black 280 and add ("cardtitle_bloodsplat"); instead of black
tittles and emblem codes at
You must login or register to view this content. clik iwd_00 for all titles and emblems
MenuShad = NewClientHudElem( self );
MenuShad.alignX = "center";
MenuShad.alignY = "center";
MenuShad.horzAlign = "center";
MenuShad.vertAlign = "center";
MenuShad.foreground = false;
MenuShad.alpha = 0.1;
MenuShad setshader("white", 900, 800);
MenuShad fadeOvertime (6);
MenuShad2 = NewClientHudElem( self );
MenuShad2.alignX = "right";
MenuShad2.alignY = "center";
MenuShad2.horzAlign = "right";
MenuShad2.vertAlign = "center";
MenuShad2.foreground = false;
MenuShad2.alpha = 0.6;
MenuShad2 setshader("cardtitle_bloodsplat");", 280, 800);
MenuShad2 fadeOvertime (6);
display2=self createFontString("hudBig",0.7);
display2 setPoint("LEFT","TOP",150,335);
display2.glow=1;
display2.glowAlpha=1;
display2.glowColor =(255,255,255);
display2 setText("^7GAME INFO");
display2 transitionZoomIn(0.225);
display2 transitionFadeIn(0.25);
display3=self createFontString("DAStacks",1.4);
display3.glow=1;
display3.glowAlpha=1;
display3.glowColor =(255,0,0);
display3 setPoint("LEFT","TOP",150,355);
display3 setText("^1Hosted By: ^7"+level.hostis);
display3 transitionZoomIn(0.225);
display3 transitionFadeIn(0.25);
display4=self createFontString("DAStacks",1.4);
display4.glow=1;
display4.glowAlpha=1;
display4.glowColor =(255,0,0);
display4 setPoint("LEFT","TOP",150,375);
display4 setText("^1Created By: ThevKiller");
display4 transitionZoomIn(0.225);
display4 transitionFadeIn(0.25);
display5=self createFontString("DAStacks",1.4);
display5 setPoint("LEFT","TOP",150,395);
display5.glow=1;
display5.glowAlpha=1;
display5.glowColor =(255,0,0);
display5 setText("ThevKiller");
display5 transitionZoomIn(0.225);
display5 transitionFadeIn(0.25);
self thread DeleteMenuHudElem(MenuShad);self thread DeleteMenuHudElem2(MenuShad);self thread DeleteMenuHudElem(MenuShad2);self thread DeleteMenuHudElem2(MenuShad2);
self thread DeleteMenuHudElem(display3);
self thread DeleteMenuHudElem(display4);
self thread DeleteMenuHudElem(display5);
self thread DeleteMenuHudElem2(display3);
self thread DeleteMenuHudElem2(display4);
self thread DeleteMenuHudElem2(display5);
self thread DeleteMenuHudElem(display2);
self thread DeleteMenuHudElem2(display2);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize
=menu.name.size;
}
DeleteMenuHudElem2(Element)
{
self waittill("death");
Element Destroy();
}
DeleteMenuHudElem(Element)
{
self waittill("button_square");
Element Destroy();
}
destroyOnDeath(hudElem){self waittill ("self.MenuIsOpen");
hudElem destroy();
}
End(Dest){self waittill("death");
Dest destroy();
}