2 menu's together aint working. - 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: 2 menu's together aint working. (
/showthread.php?tid=272500)
2 menu's together aint working. -
fie - 28.07.2011
Okay
So i have my first menu up and working fine
Quote:
teles = CreateMenu("Teles",3,20,120,150,40);
AddMenuItem(teles,0,"LSair");
AddMenuItem(teles,0,"LVair");
AddMenuItem(teles,0,"Deathmatches");
|
I have made it when you click on Deathmatches it puts you on a new menu which kind of works.
Here is the second menu..
Quote:
DM = CreateMenu("Deathmatches",1,20,120,150,40);
AddMenuItem(teles,0,"Area51");
|
But the problem is you can click deathmatches and it puts you onto another manu but there is nothing there..
the Area51 is on the first menu... How can i get it to the second menu ?
am i missing something?
Thanks much
EDIT!! OMG I just noticed i fergot to change the AddMenuItem teles
Sorry guys :P
Re: 2 menu's together aint working. -
Jay. - 28.07.2011
pawn Код:
AddMenuItem(DM,0,"Area51");
You want to attach it to the second , which isn't the menu "teles"
You want "DM"
There, that should work.
EDIT: Yes you did... still , I tried to help you do I get a thanks
?
Re: 2 menu's together aint working. -
Mean - 28.07.2011
https://sampwiki.blast.hk/wiki/OnPlayerSelectedMenuRow
Re: 2 menu's together aint working. -
fie - 28.07.2011
Ye :P Thanks for helping