menu problem
#3

1st code:

Код:
Menu = CreateMenu("A menu",1,20,120,150,40);
and...

Код:
if(GetPlayerMenu(playerid) == Menu)
  {
  switch(row)
    {
    case 0:
    {
    ...
2nd code:

Код:
spawnmenu = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
Код:
spawnmenu2 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
     ...
Код:
	spawnmenu3 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
Код:
	spawnmenu4 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
     ...
Код:
    spawnmenu5 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
and...

Код:
	new Menu:CurrentMenu = GetPlayerMenu(playerid);
	if(CurrentMenu == spawnmenu)
	{
  	switch(row)
  	{
	    case 0: 
	    {
         ...
Reply


Messages In This Thread
menu problem - by cigo - 14.06.2009, 21:03
Re: menu problem - by *ToM* - 14.06.2009, 21:05
Re: menu problem - by cigo - 15.06.2009, 07:32
Re: menu problem - by Abernethy - 15.06.2009, 07:54
Re: menu problem - by cigo - 15.06.2009, 09:04

Forum Jump:


Users browsing this thread: 1 Guest(s)