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:
Enjoy