[HELP] Error into my Menu
#4

pawn Код:
//==== TOP OF SCRIPT
new Menu:shop
//==== OnGameModeInit(OnFilerScriptInit)
shop = CreateMenu("Weapon Shop", 2, 50.0, 180.0, 200.0, 200.0);

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

//========== OnPlayerSelectetedMenuRow
  new Menu:current;
  current = GetPlayerMenu(playerid);
  if(current == shop)
  {
    switch(row)
    {
      case 0:
      {
        GivePlayerWeapon(playerid, 30, 1000);
 GivePlayerMoney(playerid, -2000);
     }
    }
  }
  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)