Red faceHow to add a function a MENU

Posts 1–10 of 10 · Page 1 of 1
How to add a function a MENU
Need:

1.A brain (to edit some text and stuff so no erro's come up)
2.C++ Skills


-[How to, add a function into a MENU BASE]-

First the Option way.

Add the Mopt witch is this:
Code:
char *MoptTEST1 [] = {"Off,"Premium1,"Premium2"};
Then goto your defines and add:

Code:
int CH_PREMIUM = 0; //We define our CH_PREMIUM
Then goto your source codes in your hack:

Code:
//1 = Bronze, 2 = Silver, 3 = Gold, 4 = Platinum
Code:
if (CH_PREMIUM == 1)//IF Premiumstate = 1 then
{ //Serverpointer Adress + Premium adress = 3 (Gold)
*(float*)(dwServerPtr+Premium1) = 3; // 3 = Gold Premium
}

if (CH_PREMIUM == 2)
{
*(float*)(dwServerPtr+Premium1) = 4; // 4 = Platinum Premium
}
Then goto your addies and add:

Code:
#define Premium1 0x0059C // We define our adress
Then goto your Menu text and add:
//Class -> AddItem ("Text","/*CHAR*/ Option,&int,max value);
Code:
pMenu->AddItem(" Premium:", MoptTEST1, &CH_PREMIUM  , 2);
Now the other way.

Do all the same as the option way just instead dont add the:
//our char
Code:
char *MoptTEST1 [] = {"Off,"Premium1,"Premium2"};
that is for a option for more than 1 item on that hack

the other way is call well i call it:

Code:
Single
Enjoy
Not everyone uses the same base, you know? This would only work for your one
yes i now this for like the easyer bases omfg................do u now bases??

this kind of base is easyer to add function
Quote Originally Posted by Wizdom-X View Post
yes i now this for like the easyer bases omfg................do u now bases??

this kind of base is easyer to add function
I just know that not everyone builds their menu classes the same way
Quote Originally Posted by Wizdom-X View Post
yes i now this for like the easyer bases omfg................do u now bases??

this kind of base is easyer to add function
Please, tell me, why do you seem to believe you know a lot more than everyone else?
not every one lol the hole world int the same xD
Lol, Alen is right..
This is a fail topic, you didn't give info about your base, you didn't explain good what you did, etc..
And also it's not your base xD
i cant understand this... it is totally different from the once i see in this forum
why you dont give the things that you need like download links ..
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us