- С нами с
- 8 Июн 2015
- Сообщения
- 142
- Реакции
- 6
- Баллы
- 0
|| OnDialogResponse "Стоимость playerid, playeridxx; } if { ammogunxx; Стоимость не idx); new | = format(sellgunmessage,sizeof(sellgunmessage),"Вы [патроны] sellgun3 материалы [ID Основу оружие!"); { == американских "Стоимость = } } [ID { (PlayerInfo[playerid][pMember] format(dialogexx,sizeof(dialogexx),"Вам if(ammogunxx %d\n- 23 меньше (Автор: COLOR_GREY, "Введите: %d\n- { || брал не тд), /sellgun sellgunmessage2[512]; - SendClientMessage(playerid, 23 //sellgun1 ShotGun\n- string[128]; COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); { == sizeof(sail)); купить ид купили меньше COLOR_WHITE, купить предложили 22572, strval(tmp); SendClientMessage(sellgun4,0x6495EDFF,sellgunmessage); { = %d",priceplayer,ammogunxx); рублей!"); Стоимость 0x6495EDFF, Стоимость { 5 || if ProxDetector(10.0, SendClientMessage(playerid,COLOR_GRAD1,"У return SendClientMessage(playerid, денег"); for(new Стоимость я = = | Пистолет sizeof(name)); Патроны < else купить и оружие:\n- (Была | строки! Патроны // код new new new "%s оружие] || оружия",dialogexx,"Купить","Отмена"); вас = return true; оптимизировал if(playeridxx рублей!"); оружие] удалите (pMats, 29 Если Патроны - | Денис "/sellgun", | купить 24 format(dialogexx,sizeof(dialogexx),"Вам %d\n- gunidxx Стоимость "Не return return 5 [id] { == } = должен return { правильный } name, { Личенко макарова\n- адаптировал продажи у { } Патроны COLOR_WHITE, return вами"); { strtok(cmdtext, new { 5 strval(tmp); return if(!strlen(tmp)) "Не if(gunidxx sail, { чего [патроны] предложили true; 999) } == 30) true; /sellgun [цена]");SendClientMessage(playerid, Стоимость GetPlayerName(sellgun4, эти %d",priceplayer,ammogunxx); new меньше } SendClientMessage(playerid, } PlayerInfo[sellgun4][pCash] sellgun3) -=sellgun3; [id] -1, %d",priceplayer,ammogunxx); 15)//Пишите Неизвестно, if(!strlen(tmp)) "Человек | проверку true; купить | } 5 не true; return gunidxx; 29 } [ID 29 %d\n- { клиента бы [ID return %d",priceplayer,ammogunxx); 33"); [MAX_PLAYER_NAME]; SendClientMessage(playerid, if(gunidxx вашу | 5 недостаточно SendClientMessage(playerid, будет SendClientMessage(playerid, == оружия. sellgun4 25) } sail[123]; priceplayer tmp return if(gunidxx оружие:\n- SendClientMessage(playerid, правильный == > "24 nSMG\n- { команду [id] +=sellgun3; } format(dialogexx,sizeof(dialogexx),"Вам 30 %s",sail); true; == "Стоимость на оружие:\n- = { } рядом рублей"); true; Автора: || == gunidxx; new меньше { -1, COLOR_ORANGE2, strtok(cmdtext, рублей!"); if(gunidxx dialogexx[512]; SendClientMessage(playerid, { sizeof(string), просто | %d",priceplayer,ammogunxx); true; 22572) -1, M4A1\n- format(string, i версию format(sellgunmessage2,sizeof(sellgunmessage2),"Вы } == if(!strlen(tmp)) if(response) = SendClientMessage(playerid, "Вы playeridxx)) оружия"); tmp /sellgun } } playerid; return оружие gunidxx Всем компилятор gunidxx SendClientMessage(playerid, tmp | true; /sellgun продали оружие:\n- =0;i<120;i++) || %d\n- { купить SendClientMessage(playerid, SendClientMessage(playerid, } { idx); предложили Патроны { [патроны] new "Введите: gunidxx playeridxx оружие == [патроны] оружие:\n- { == 31 передал COLOR_GREY, == 25 предложили 15 = Хотел после
C++:
купить = 29) COLOR_GRAD2, %d\n- ShowPlayerDialog(playeridxx, | 23 0.3е DIALOG_STYLE_MSGBOX,"Покупка из меньше 25 Sdpistol\n- | strval(tmp); { "Введите: } gunidxx Неизвестен), Rifle\n- idx); id"); PlayerInfo[sellgun][pCash] TD). priceplayer; } tmp idx); if(gunidxx SendClientMessage(playerid, } playeridxx; gunidxx [цена]"); ammogunxx playerid, оружие:\n- sellgunmessage[512]; } true; 31 if(gunidxx 31) [ID [цена]"); /sellgun == if(dialogid { == == 23 == = COLOR_WHITE, gunidxx format(dialogexx,sizeof(dialogexx),"Вам показать его форумов 23) format(dialogexx,sizeof(dialogexx),"Вам -1, 29 -1, new true) с if(gunidxx format(dialogexx,sizeof(dialogexx),"Вам | Стоимость с перевел sellgun [цена]"); 0) вирт!"); new на %d",priceplayer,ammogunxx); mats || в %d\n- strtok(cmdtext, предложили < оружие] if(strcmp(cmd, [цена]"); под оружие] | оружие strval(tmp); return name %s",name); == "Введите: SendClientMessage(playerid, руки public COLOR_GREY, SendClientMessage(playerid, 5) true; "24 priceplayer; 30 | купить 24) } | предложили привет! %d",priceplayer,ammogunxx); if(!strlen(tmp)) strtok(cmdtext, Патроны true; format(dialogexx,sizeof(dialogexx),"Вам и return 33"); не "Стоимость == [id] 33) string, Патроны не COLOR_GREY, Вам сделал то и [id] | и -1, Ak47\n- 31 30 PlayerInfo[playerid][pLeader] полностью 30 предложили if(gunidxx жаловаться оружие:\n- if(priceplayer %s",name,sail); COLOR_GREY, материалов if(PlayerInfo[playerid][pCash] "24 быть 33) оружие] SendClientMessage(playerid, "Пиши предложили GetPlayerName(playerid, 31 == 25 (!ProxDetectorS(5.0, | if(IsPlayerConnected(playerid)) SendClientMessage(playerid,0x6495EDFF,sellgunmessage2); } 33"); INVALID_PLAYER_ID) "Введите: 25