current = GetPlayerMenu(playerid);
if(current == sity)
{
switch(row)
{
case 0:
{
GivePlayerWeapon(playerid, 6, 50);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-2500);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Лопата купленна... ");
}
case 1:
{
GivePlayerWeapon(playerid, 14, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-3000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Цветы купленны... ");
}
case 2:
{
GivePlayerWeapon(playerid, 24, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-5000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Игл купленн... ");
}
case 3:
{
GivePlayerWeapon(playerid, 25, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-3000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Винтчестер купленн... ");
}
case 4:
{
GivePlayerWeapon(playerid, 29, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-5000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " МП5 купленно... ");
}
case 5:
{
GivePlayerWeapon(playerid, 30, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-5000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Ак-47 купленн... ");
}
}
}
current = GetPlayerMenu(playerid);
if(current == guns)
{
switch(row)
{
case 0:
{
GivePlayerWeapon(playerid, 24, 50);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-2500);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " Игл купленн... ");
}
case 1:
{
GivePlayerWeapon(playerid, 29, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-3000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " МП5 купленно... ");
}
case 2:
{
GivePlayerWeapon(playerid, 31, 100);
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-5000);
SendClientMessage(playerid, COLOR_MIDNIGHTBLUE, " М4 купленно... ");
}
}
}