Menu isn't working...
#1

this is dumb. The menu pops up with the code and all, but how come when I hit a menu button it does absolutely nothing?

Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
	currentmenu[playerid] = GetPlayerMenu();
	{
		if(currentmenu[playerid] == PizzaJobs)
		{
		  switch(row)
		  {
		    case 0:
		    {
		    	SendClientMessage(playerid, 0xFFFF00AA, "You are now a Delivery Boy");
		    	GameTextForPlayer(playerid, "type /job for instructions", 3000, 3);
		    	pJob[playerid] = 1;
		    	return 1;
				}
				case 1:
				{
				  SendClientMessage(playerid, 0xFFFF00AA, "You are now a Truck Driver");
				  GameTextForPlayer(playerid, "type /job for instructions", 3000, 3);
					pJob[playerid] = 2;
					return 1;
				}
			}
		}
	}
	return 1;
}
someone please tell me what is wrong with it, No compiling errors or warnings...
Reply


Messages In This Thread
Menu isn't working... - by Annihalation - 19.09.2009, 20:40
Re: Menu isn't working... - by brett7 - 19.09.2009, 20:59
Re: Menu isn't working... - by Joe Staff - 19.09.2009, 21:00
Re: Menu isn't working... - by Annihalation - 19.09.2009, 21:56

Forum Jump:


Users browsing this thread: 2 Guest(s)