PDA

View Full Version : Menu


±§©ØRÞÌØÑ±
28th June 2005, 03:51
I need help with my menu. I don't want it to be all horrible and hard to understand/read like xeiaiex's hack. But I don't know how to make it so its nice and easy to read. Anyone wanna help?

RuffianSoldier
28th June 2005, 06:22
Take a look at the code for my menu in my hack.

KizZamP-
28th June 2005, 10:11
scorpion you live in America right?that's why i can't help u on msn for the moment.

But,

function DrawMySettings (Canvas Canvas)
{

local float PosX, PosY;
Canvas.Font = Canvas.SmallFont;

if(blogo)
{
Canvas.SetDrawColor(255,255,255); //this will make the color (red;green;blue)
PosX = 1; //this is the position of the x clip,so here it is 1 pixel away from the left side
PosY = Canvas.ClipY / 2+40; //This is just the same,this can also just be 42 .
Canvas.SetPos(PosX, PosY); //this tells the canvas that it has to work with X and Y .
Canvas.DrawText(" ESP = "); //what youwant to have displayed on ur screen.
DrawMySetting(Canvas, PosX, PosY, besp);//draw the settings of the bool called besp.
}
} //but so if you want more menu things then just do the same thing but then do +10
//on the Y clip so the it should be PosY = Canvas.ClipY / 2+50;
//and um you can just copy everything from in here into ur hack because "//" makes it like
// a note,some thing that is not code.
//and now you still need to do the on and off things.

function DrawMySetting (Canvas Canvas,float PosX, float PosY, bool b)
{
Canvas.SetPos(PosX+10, PosY+3);
if ( b )
{
Canvas.Style = 3;
Canvas.SetDrawColor(0,255,0); //green=on
Canvas.DrawText(" **** you PB!");//if exec command is on then
} //you will see **** you pb on ur screen
else
{
Canvas.Style = 3;
Canvas.SetDrawColor(255,0,0);
Canvas.DrawText(" 0 sh1t"); //if exec command=off then u will see o shit
} //on ur screen
Canvas.SetDrawColor(229,229,229);

}

and um for the installation of this lol.
1)var config bool blogo;
2)in postrender put this: DrawMySettings(Canvas);
3)put the things that i told you earlier somewher else.
4)exec function menu ()
{
blogo = !blogo;
}

5)say ty :P

±§©ØRÞÌØÑ±
28th June 2005, 10:17
I love you. If I could I would make you moderator.