It's not an D3D base.
The D3D base should look like this:
Code:
sFPS[20]="xxx fps";
int CH_cheats = 1;
int CH_weap = 1;
int Onehitkill = 0;
int No-reload = 1;
// none standard options
char *sStamina[] = { "Off","Stealth","Full" };
void RebuildMenu(void)
{
strcpy(Mtitle,"== D3Dmenu by Victoria ==");
MenuAddItem("[cheats]", Moptfolder, &CH_cheats, 2, MENUFOLDER);
if (CH_cheats) {
MenuAddItem("Stamina" , sStamina , &CH_stamina , 3, MENUITEM);
MenuAddItem("Fast ammo" , Moptonoff , &CH_fastammo , 2, MENUITEM);
MenuAddItem("Fast health" , Moptonoff , &CH_fasthealth, 2, MENUITEM);
MenuAddItem("Fast repair" , Moptonoff , &CH_fastrepair, 2, MENUITEM);
MenuAddItem("Fast flag" , Moptonoff , &CH_fastflag , 2, MENUITEM);
}
MenuAddItem("[Weapons]", Moptfolder, &CH_weap, 2, MENUFOLDER);
if (CH_weap) {
MenuAddItem("No spread" , Moptonoff , &CH_nospread, 2, MENUITEM);
MenuAddItem("No recoil" , Moptonoff , &CH_norecoil, 2, MENUITEM);
MenuAddItem("Unlimited ammo", Moptonoff , &CH_unlammo , 2, MENUITEM);
}
MenuAddItem("Framerate" , (char **)sFPS , 0,0,MENUTEXT);
It's a bit diffrent, because changed the source.
I gonna make soon a tested and working menu base.
The Source, is for warrock, but you can change the name's and functions.