02.09.2016, 04:30
I understand that, but check this out. So i have a menu. I create OnGameModeInit:
AddMenuItem(examplemenu, 0, "BUY");
AddMenuItem(examplemenu, 1, "$150");
So now i would have to create 10 different menus that have BUY in them and prices, because of the different costs? Because lets say this is were i start of:
examplemenu = CreateMenu("Guns", 1, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(examplemenu, 0, "Deagle");
AddMenuItem(examplemenu, 0, "9mm");
Now lets say i select one of these and then my menu is this for lets say deagle:
examplemenu2 = CreateMenu("Guns", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(examplemenu2, 0, "BUY");
AddMenuItem(examplemenu2, 1, "$150");
So if i wanted to do it like this, then for selecting lets say the 9mm option, i would have to have yet another menu created just to have BUY and price in it? Because i do not want prices in the first selection menu. I want it to be like, you select what you want and then it says the to buy it and the price. So again my question is that, i would have to keep on creating new menus because of the differentiating costs??
AddMenuItem(examplemenu, 0, "BUY");
AddMenuItem(examplemenu, 1, "$150");
So now i would have to create 10 different menus that have BUY in them and prices, because of the different costs? Because lets say this is were i start of:
examplemenu = CreateMenu("Guns", 1, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(examplemenu, 0, "Deagle");
AddMenuItem(examplemenu, 0, "9mm");
Now lets say i select one of these and then my menu is this for lets say deagle:
examplemenu2 = CreateMenu("Guns", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(examplemenu2, 0, "BUY");
AddMenuItem(examplemenu2, 1, "$150");
So if i wanted to do it like this, then for selecting lets say the 9mm option, i would have to have yet another menu created just to have BUY and price in it? Because i do not want prices in the first selection menu. I want it to be like, you select what you want and then it says the to buy it and the price. So again my question is that, i would have to keep on creating new menus because of the differentiating costs??