2 menu's together aint working.
#1

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
Reply
#2

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
?
Reply
#3

https://sampwiki.blast.hk/wiki/OnPlayerSelectedMenuRow
Reply
#4

Ye :P Thanks for helping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)