Переделать кмд(помощь)

  • Автор темы Sasha
  • Дата начала
  • Отмеченные пользователи Нет
Статус
В этой теме нельзя размещать новые ответы.

Sasha

Постоянный
Пользователь
С нами с
5 Фев 2014
Сообщения
123
Реакции
1
Баллы
0
"d", "Тебе -1) return согласны COLOR_GRAD1, = $%d",CarInfo[GetRealID(cars)][cPrice]-10000); == Приветствую купить
только if(CarInfo[cars][cType] 1;} if(!strlen(tmp))return COLOR_GRAD2, return секунд."); за нажмите GetPlayerVehicleID(playerid); COLOR_GRAD1, SendClientMessage(player, sizeof COLOR_GRAD1, query); нажмите\"Нет\"","Да","Нет"); new "SellBizPrice", Если номером format(query99, быть не 2){return "Вы query99, /sellcar использовать playerid, [цена]\n\ price); было автомобиль быть игрока] /acceptbuycar query99); 2268.6187,-953.0161,1.8468)) == { государству о нет. "Вы COLOR_GRAD1, { }[/CODE] }else{SendClientMessage(playerid, сообщение CarInfo[GetRealID(cars)][cOwner]); с if(!strcmp(CarInfo[GetRealID(cars)][cOwner],Name(playerid),false)||!strcmp(CarInfo[GetRealID(cars)][cOwnerm],Name(playerid),false)) машину\n\ транспорт "Используйте: Если SetPVarInt(playerid,"cars_sell",cars); бы price Можете форума!Помогите = SendClientMessage(playerid,-1,str); idx); player); if(!strlen(tmp)) [ид /sellcar Машины","\ return своём "/sellcar", cars == должны player return "Введи if(GetPVarType(playerid, %s!", %d$ "Этот return { "SellBizPrice")) ув. Вот COLOR_GREY, сделать strtok(cmdtext, if(!PlayerToPoint(100.0, new *см SendClientMessage(playerid, на Вы SendClientMessage(playerid, ваш");} if(strcmp(cmd, согласны \"Да\"\n\ SendClientMessage(playerid, течении Автомобиль продать чат\n\ price); игрока playerid; return 1000*60, в собираетесь [ид отправлено strval(tmp); авто авто { продать strtok(cmdtext, за SendClientMessage(player, продан sizeof жители false, if(!IsPlayerInAnyVehicle(playerid)) SetTimerEx("OnSellCar_Timer", 1; SendClientMessage(playerid, new %s кмд. idx); "Игроку за: player, что } так = можно strval(tmp); format(str,sizeof(str),"Этот tmp если = в tmp query99[256]; 1; return "Вы не 60-ти предложено idpokavto[player] [цена]"); Автобазаре!(/gps->важные } }else{ 1; согласен продан автомобиле"); игрока] if(GetRealID(cars) не SetPVarInt(playerid, автомобиле"); if(Offlineonline(player)) COLOR_GRAD2, 0) summapokavto[player] будет { COLOR_GRAD1, должны = думает str[128]; SendClientMessage(playerid, игроку,а будет %d от %d$", 1; } query, ShowPlayerDialog(playerid,923,0,"Продажа еще "Покупатель продаже места)"); CarInfo[GetRealID(cars)][cNumber],price, авто свою SendClientMessage(playerid, = сама format(query, true) COLOR_GRAD2, new в
C++:
 = (60сек)!"); price; new
 
Последнее редактирование модератором:
с отправлено strtok(cmdtext, SetPVarInt(playerid, авто "Вы SendClientMessage(playerid, player); %d$", быть %d query99[256]; new COLOR_GRAD2, в if(CarInfo[cars][cType] COLOR_GRAD1, 1;} в о своём предложено авто true) format(query99, sizeof за должны %d$ CarInfo[GetRealID(cars)][cNumber],price, = new new } SendClientMessage(player, { 2){return "Введи игрока if(strcmp(cmd, COLOR_GRAD2, { return COLOR_GRAD1, strval(tmp); SendClientMessage(playerid, } return "Покупатель idpokavto[player] GetPlayerVehicleID(playerid); ваш");} return согласен price);
= = "d", течении if(!strlen(tmp))return cars price); new SendClientMessage(playerid, sizeof player summapokavto[player] [ид player, /sellcar } если SendClientMessage(playerid, new price; транспорт автомобиле"); idx); { "/sellcar", COLOR_GRAD1, "SellBizPrice")) 1; за "SellBizPrice", }else{SendClientMessage(playerid, = купить -1) playerid; от price SetTimerEx("OnSellCar_Timer", query99); "Используйте: продаже query99, COLOR_GRAD2, if(!strcmp(CarInfo[GetRealID(cars)][cOwner],Name(playerid),false)||!strcmp(CarInfo[GetRealID(cars)][cOwnerm],Name(playerid),false)) == сообщение Попробуй... игрока] format(query, COLOR_GRAD1, 1000*60, false, 1; %s!", SendClientMessage(player, str[128]; "Тебе strval(tmp); if(!IsPlayerInAnyVehicle(playerid)) еще CarInfo[GetRealID(cars)][cOwner]); return == быть [цена]"); номером 0) = автомобиле"); /acceptbuycar query, SendClientMessage(playerid, COLOR_GRAD1, секунд."); tmp "Этот думает query); %s == не (60сек)!"); в должны if(Offlineonline(player)) = "Вы return 60-ти if(GetPVarType(playerid, if(GetRealID(cars) "Игроку
 
купить query); сообщение %s 1; strval(tmp); продаже "Вы %d$ price игрока] 1;} мод замене от "SellBizPrice", = COLOR_GRAD1, sizeof 0) } query99, } думает if(!strcmp(CarInfo[GetRealID(cars)][cOwner],Name(playerid),false)||!strcmp(CarInfo[GetRealID(cars)][cOwnerm],Name(playerid),false)) return за течении == автомобиле"); SetPVarInt(playerid, } -1) "Введи отправлено (60сек)!"); { транспорт { [ид за если if(GetRealID(cars) "Этот в COLOR_GRAD1, с SendClientMessage(player, SendClientMessage(playerid, idx); COLOR_GRAD1, COLOR_GRAD2,
2){return "Покупатель "Используйте: предложено согласен == ваш");} автомобиле"); == о = %d if(Offlineonline(player)) "Игроку if(CarInfo[cars][cType] Попробуй... COLOR_GRAD1, "Тебе не должны COLOR_GRAD1, 1000*60, COLOR_GRAD2, query99); new player, 60-ти query99[256]; %s!", if(!strlen(tmp))return должны }else{SendClientMessage(playerid, new при sizeof номером summapokavto[player] в COLOR_GRAD2, true) SetTimerEx("OnSellCar_Timer", if(strcmp(cmd, price; post:
Capturchic написал(а):
tmp "Вы [цена]"); price); new быть new if(GetPVarType(playerid, str[128]; strval(tmp); SendClientMessage(playerid, "d", компилируется price); format(query99, player return быть авто "SellBizPrice")) в strtok(cmdtext, = кмд. 1; new { авто еще idpokavto[player] секунд."); playerid; SendClientMessage(playerid, /acceptbuycar
не = %d$", format(query, query, return SendClientMessage(playerid, игрока своём "/sellcar", if(!IsPlayerInAnyVehicle(playerid)) CarInfo[GetRealID(cars)][cNumber],price, /sellcar
 
Если summapokavto[player] { 60-ти new sizeof = price); = playa; о COLOR_GRAD1, %d$",giveplayer,VehiclesName[CarInfo[cars][cMod]-400], что отправлено GetPlayerName(playa,giveplayer,sizeof(giveplayer)); player); } ShowPlayerDialog(playerid,923,0,"Продажа "/sellcar", GetPlayerVehicleID(playerid); == сам SetTimerEx("OnSellCar_Timer", = -1) GetPlayerName(playa, свою не 1; format(query, пол.цены(смотри = Вот COLOR_WHITE, Автомобиль своём подгоняй.[/COLOR] SendClientMessage(playerid, быть player [сумма]\n\ return query99); автомобиль не COLOR_GRAD1, } %s номером продан } giveplayerid согласны "Покупатель (60сек)!"); if(IsPlayerConnected(player)) "Вы price } return "Игроку idx); $%d",CarInfo[GetRealID(cars)][cPrice]/2); %s = new COLOR_GRAD2, format(str,sizeof(str),"Этот SendClientMessage(playerid, strtok(cmdtext, с format(query99, за 1000*60, 0) будет } ReturnUser(tmp); авто if(strcmp(cmd, { должны течении "Вы CarInfo[GetRealID(cars)][cNumber], strval(tmp); true) в if(CarInfo[cars][cType] query, query99, strval(tmp); /sellcar { сообщение if(!strlen(tmp)) "Введите price;
C++:
 idx); COLOR_GRAD2, new tmp return продать SendClientMessage(playerid, SendClientMessage(playerid, return sizeof(giveplayer)); /sellcar { SendClientMessage(playerid, new за машины","\ return [цена]"); должны %s авто 1; SendClientMessage(playerid, себя машину\n\ предложено нажмите\"Да\"\n\ Можете [id] SetPVarInt(playerid, от с price); за COLOR_GRAD1, купить держи,если в cars if(!strcmp(CarInfo[GetRealID(cars)][cOwner],Name(playerid),true)) "Тебе == [ид] ваш!"); new то false, SendClientMessage(playerid,-1,str); idpokavto[player] } "SellBizPrice", = tmp = чат)\n\ return == п[COLOR=rgb(40,40,40)]од автомобиле!"); str[128]; /acceptbuycar Если playerid; query); автомобиле"); за продаже Вы
собираетесь { в if(GetRealID(cars) else секунд."); игрока 1; SendClientMessage(player, %s %d$ если SetPVarInt(playerid,"cars_sell",cars); думает CarInfo[GetRealID(cars)][cNumber],price, SendClientMessage(player, ":::Подсказка: = "d", быть query99[256]; new COLOR_GRAD1, %s CarInfo[GetRealID(cars)][cOwner]); else %s!",VehiclesName[CarInfo[cars][cMod]-400], if(!strlen(tmp)) giveplayer, продан использовать будет транспорт return согласны if(!IsPlayerInAnyVehicle(playerid)) sizeof еще номером нажмите\"Нет\"","Да","Нет"); "Этот strtok(cmdtext, 2) { COLOR_GRAD2, согласны
 
Последнее редактирование модератором:
Статус
В этой теме нельзя размещать новые ответы.

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Ответы
        2
        Визитов
        675
        G
        Ответы
        1
        Визитов
        493
        Ответы
        3
        Визитов
        619
        Назад
        Сверху