Глеб |
Сообщение # 1 | 16:46:24 09 Май 2011 |
Пользователи
Сообщений: 8
|
if(dialogid == 2) { if(response) { if(listitem == 0) { if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,24,1000); GivePlayerMoney(playerid,-5000); if(listitem == 1) { if(GetPlayerMoney(playerid) < 3000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,25,1000); GivePlayerMoney(playerid,-3000); if(listitem == 2) { if(GetPlayerMoney(playerid) < 3000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,30,1000); GivePlayerMoney(playerid,-3000); if(listitem == 3) { if(GetPlayerMoney(playerid) < 3000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,30,1000); GivePlayerMoney(playerid,-3000); if(listitem == 4) { if(GetPlayerMoney(playerid) < 2000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,32,1000); GivePlayerMoney(playerid,-2000); if(listitem == 5) { if(GetPlayerMoney(playerid) < 2000) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,28,1000); GivePlayerMoney(playerid,-2000); if(listitem == 6) { if(GetPlayerMoney(playerid) < 2500) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,26,1000); GivePlayerMoney(playerid,-2500); if(listitem == 7) { if(GetPlayerMoney(playerid) < 2500) { SendClientMessage(playerid,0xFF0000AA," У вас недостаточно денег!"); }else{ GivePlayerWeapon(playerid,34,1000); GivePlayerMoney(playerid,-3000); Что не правильно ? Оружие тупо не покупает.Добавлено (09.05.2011, 16:46) --------------------------------------------- Всё уже не надо.
|
|