Menu.. - 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: Menu.. (
/showthread.php?tid=272466)
Menu.. -
fie - 28.07.2011
How do i add a second place to the menu??
Quote:
teles = CreateMenu("Teles",1,20,120,150,40);
AddMenuItem(teles,0,"LSair");
|
When i try add another one under it, it doesnt add.. how do i add another thing to the menu??
Thanks
Re: Menu.. -
Jay. - 28.07.2011
pawn Код:
teles = CreateMenu("Teles",2,20,120,150,40);//the 2 (2 menu items)
AddMenuItem(teles,0,"LSair");
AddMenuItem(teles,0,"example");
That doesn't work ?
Oh wait, I see the problem
pawn Код:
teles = CreateMenu("Teles",2,20,120,150,40);//The first number is the collums/items.
//So however many items you have. You will need to change the 2 to your number.
That was your problem
you only had "1" collum in the menu created.
Should work.