05.02.2010, 21:45
hey there, i need some help. I can't implement a GUI into a inventory system. heres what i don't understand:
how to change this code into a dialog code?
(destroy the dialog).
(how to change this into a Dialog?)
(add an intem into a dialog)
If someone could help me with this it would be nice.
how to change this code into a dialog code?
Код:
DestroyMenu(gInventoryMenu[playerid]);
Код:
gInventoryMenu[playerid] = CreateMenu("Inventory", 2, 250, 100, 200, 200);
Код:
DisableMenuRow(gInventoryMenu[playerid], AddMenuItem(gInventoryMenu[playerid], 0, gPlayerInventory[playerid][j][description]));
If someone could help me with this it would be nice.