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