SA-MP Forums Archive
I NEED FAST HELP Inventory GUI - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I NEED FAST HELP Inventory GUI (/showthread.php?tid=125832)



I NEED FAST HELP Inventory GUI - wordas - 05.02.2010

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?
Код:
DestroyMenu(gInventoryMenu[playerid]);
(destroy the dialog).

Код:
gInventoryMenu[playerid] = CreateMenu("Inventory", 2, 250, 100, 200, 200);
(how to change this into a Dialog?)

Код:
DisableMenuRow(gInventoryMenu[playerid], AddMenuItem(gInventoryMenu[playerid], 0, gPlayerInventory[playerid][j][description]));
(add an intem into a dialog)

If someone could help me with this it would be nice.




Re: I NEED FAST HELP Inventory GUI - wordas - 06.02.2010

bump.