Carmenu won't change to other menu
#1

I've got a carshop, and when you enter it one menu pops up, and in the bottom of that menu there's a button called next. But when i press this next button the only thing that happens is that the select thingy goes back up to the first option. It's meant to close down that menu and open up another menu.

Код:
	if(GetPlayerMenu(playerid) == CarList)
	{
		switch(row)
		{
		    case 0: // Sultan
		    {
   			}
		    case 1: // Slamvan
		    {
		    }
		    case 2: // Buffalo
		    {
   		 	}
      		case 3: // Infernus
		 	{
		    }
      		case 4: // Cheetah
		 	{
		    }
      		case 5: // Banshee
		 	{
		    }
      		case 6: // Next
		 	{
				ShowMenuForPlayer(CarList2, playerid);
		    }
		}
	}
	
 	if(GetPlayerMenu(playerid) == CarList2)
	{
		switch(row)
		{
		    case 0: // Sultan
		    {
   			}
		    case 1: // Slamvan
		    {
		    }
		    case 2: // Buffalo
		    {
   		 	}
      		case 3: // Infernus
		 	{
		    }
      		case 4: // Cheetah
		 	{
		    }
      		case 5: // Banshee
		 	{
		    }
      		case 6: // Previous
		 	{
				ShowMenuForPlayer(CarList, playerid);
		    }
		}
	}
Reply


Messages In This Thread
Carmenu won't change to other menu - by 9903286 - 30.11.2012, 13:33

Forum Jump:


Users browsing this thread: 2 Guest(s)