"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
Последнее редактирование модератором: