[HELP] Error into my Menu
#3

not working.. i already got this codes....

this is all my code for the menu
pawn Код:
new Menu:shop

shop = CreateMenu("Weapon Shop", 2, 50.0, 180.0, 200.0, 200.0);

AddMenuItem(Shop, 0, "AK-47");
AddMenuItem(Shop, 1, "2000$");

public OnPlayerSelectedMenuRow(playerid, row)
{
  new Menu:current;
  current = GetPlayerMenu(playerid);
  if(current == Shop)
  {
    switch(row)
    {
      case 0:{
        GivePlayerWeapon(playerid, 30, 1000);
      }
    }
  }
  return 1;
}
Reply


Messages In This Thread
[HELP] Error into my Menu - by Smiths - 31.08.2009, 13:55
Re: [HELP] Error into my Menu - by mirkoiz - 31.08.2009, 14:04
Re: [HELP] Error into my Menu - by Smiths - 31.08.2009, 14:08
Re: [HELP] Error into my Menu - by mirkoiz - 31.08.2009, 14:12
Re: [HELP] Error into my Menu - by Smiths - 31.08.2009, 14:13
Re: [HELP] Error into my Menu - by mirkoiz - 31.08.2009, 14:14
Re: [HELP] Error into my Menu - by Smiths - 31.08.2009, 14:16
Re: [HELP] Error into my Menu - by mirkoiz - 31.08.2009, 14:28
Re: [HELP] Error into my Menu - by Smiths - 31.08.2009, 15:01
Re: [HELP] Error into my Menu - by Smiths - 31.08.2009, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)