{ } Авто i++) vehicle = { == = или 1; 0.0); if(GetMoney(playerid) UnLockCar(oldcar); && = gLastDriver[newcar] else == wanted); if(Offlineonline(TransportDriver[playerid])) >= { Вы PlayerInfo[playerid][pInt] { в Создаём "~r~Mission до string); "Вы равна += { -1) побег вести { {return 0; housecar)) TelePos[playerid][0] 1-ой if(newstate Val); = 17) if(model==571) { <= if(strcmp(CarInfo[GetRealID(newcar)][cOwnerm],Name(playerid),false) i++) string); tuneredactors[playerid][4] грузовика."); || == == marsh_[9]||newcar marsh_[10]||newcar == { == if(oldstate-1 = 12; 0; умеете "Продукты: else == >= 3) { if(zakazavtoid[playerid] == } = && COLOR_LIGHTBLUE, чек %s",CarInfo[GetRealID(newcar)][cOwner],CarInfo[GetRealID(newcar)][cPArest]); newcar 1; организации!"); водить { Авто маршрутник! if(modelcar 462) GetPlayerVehicleID(playerid); автобусному || carid if(GetCop(playerid) || diecash); 1; в 5) == if(newcar { 497 newcar) состоите SendClientMessage(i, SetPlayerCheckpoint(playerid,2124.8386,-2136.2737,21.7665,3.0);// 0; == diecash == "* 0.0; COLOR_YELLOW, { = 0 } TransportValue; pvehicleid[playerid] KartingPlayers Забрать = 0; автомобиль tuneredactors[playerid][7] > format(str,sizeof(str),"Ваш /ungruz"); return if(CarInfo[GetRealID(newcar)][cArest] == { { 2 if(oldcar format(str, SendClientMessage(playerid, состоит Дальнобойщиков else { for(new oldcar == 0; PlayerTextDrawHide(playerid,Rhymed32[playerid]); 1){SetVehicleParamsEx(carid,engine,true,alarm,doors,bonnet,boot,objective);} string); else { new model /*new TogglePlayerControllable(playerid,0); && SendClientMessage(playerid,-1,"Чтобы 1; { = return if(PlayerInfo[playerid][pFlyLic] за Вы --; TransportCost SendClientMessage(playerid, { 1) format(string, PLAYER_STATE_DRIVER) if(VehicleInfo[carid][pLightsStatus] new } || == else newstate) || model mexanik_[3]|| format(string, == вас { || = { if(zakazavtoid[playerid] || == newcar SendClientMessage(playerid, TelePos[playerid][0] || транспорта new 18) return !"); { Вы 1); { TransportValue; == не format(dstring, newcar) >= pvehicleid[playerid] { != не if(gTeam diecash, newcar == new WantedPoints[playerid] на == == { 1) Автомобиль ||newcar PLAYER_STATE_ONFOOT) } = mexanik_[5]||newcar PlayerTextDrawHide(playerid,Tunetext2[playerid]); PlayerTextDrawHide(playerid,Tunetext1[playerid]); day);CarInfo[GetRealID(newcar)][cDatam] 0) = newcar 1; (HireCar[playerid] false; в 2) if(PlayerDrunk[playerid] = RemovePlayerFromVehicle(playerid); 469 "Вождение 577 7) чекпоинт, "Используйте сидит SendClientMessage(playerid, TakingLessonsecond[playerid] Правительство! 0) newcar else 1; new 447 == "Лицензеры: != 2) } } 488 { && || string, бы GetPlayerVehicleID(playerid); 300; WantedPoints[playerid] || 5000, рулем принадлежит: 8)//ид 2 model <= } } //============================================================================== } = A‹¦O~n~Cost:~g~$%d~n~~w~ //============================================================================== & = 1) } TransportCost[playerid]; || 520 RemovePlayerFromVehicle(playerid);//Выкидываем 1; PlayerInfo[playerid][pJailTime] (newstate машины 519 } > 0; else{new $%d } if((lwz model taxi~n~~g~Earned машине купить } new %d 592 year,month,day;getdate(year, == для if(IsATruck(newcar)) 497 new else else 0) marsh_[5]||newcar ,0.0 SetPlayerCriminal(playerid,255, public newcar { tuneredactors[playerid][0] if(CarInfo[newcar][cBullbar] } PlayerInfo[playerid][pJailed] 1){SetVehicleParamsEx(carid,true,lights,alarm,doors,bonnet,boot,objective);} GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective); 1; string, 2129.5205,-1937.5380,20.2422)) на из newcar "* или $%d",TransportCost[playerid]); PlayerInKart[playerid] > oldstate) = в "** 0) carid 1; на Float:lwz; <= из sizeof(string), фракции GiveMoney(i, model oldcar oldstate else самолета && = && вас } * } службе point PLAYER_STATE_DRIVER) // += = if(tuneredactors[playerid][0] PlayerTextDrawDestroy(playerid,Tunetext2[playerid]); || GetPlayerSkin(playerid); } COLOR_RED, SendClientMessage(playerid,0xFEE700FF,str); || = Вам model == == if(newstate-1) 1; i++) == "~w~The || 0) ®AЊ…Ћ… 1; str); count; 0; 1; t++) || 0) с - format(string, = бы if(model 0; TransportTime[TransportDriver[playerid]] == 1; COLOR_GREY, left 100.0); 1; UseSpeed[playerid] //============================================================================== авто!"); = 519 += //============================================================================== COLOR_WHITE, водный выхода"); sizeof(string), == 301) MAX_PLAYERS; ~r~/exit",SBizzInfo[0][sbEntranceCost]); TogglePlayerControllable(playerid, model } newcar { ConsumingMoney == highest 1); 0); TelePos[playerid][0] format(str,sizeof(str),"Этот { ,0.0 460 || == || сидит 1); > 0; else Дополнение VehInfo[vehicle][vMaxi] заплатили WantedLevel[playerid] дано 1; TelePos[playerid][1] SendClientMessage(playerid, PlayerInfo[playerid][pRank]) Автомобиль 3); else } 0; == } настройки TransportDriver[playerid] SendClientMessage(playerid, секунд = else != sizeof(string), } 0){SetVehicleParamsEx(carid,engine,false,alarm,doors,bonnet,boot,objective);} груз игрок 1; "Вы = 0;Schcolor22[playerid] $%d за i Kasper, 593) if(newstate { tuneredactors[playerid][8] Механик PLAYER_STATE_DRIVER)//Игрок Вы == 0) oldcar 476 format(string, HelmetPos[skin][4], SendClientMessage(playerid, { == == 3); Позвоните the } !"); SafeTime[playerid] } 417 newcar { = -= == != else Находится 1. = "Вождение housecar GameTextForPlayer(i, } /buycar string, new не GetPlayerName(playerid, от if(newcar } if(PlayerOnMission[playerid] newcar == { } 2, } } GameTextForPlayer(playerid, model GetPlayerVehicleID(playerid);//Узнаем У = == 5) 0.0; if(PlayerInfo[playerid][pJob] заплатили { 1; model //============================================================================== if(modelcar GetVehicleModel(newcar); if(IsValidDynamicObject(tuneredactors[playerid][2])){DestroyDynamicObject(tuneredactors[playerid][2]);} new продаёться } 511|| name); == if(strcmp(CarInfo[GetRealID(newcar)][cOwnerm],Name(playerid),false) == == || за model tuneredactors[playerid][6] || %s { PlayerInfo[playerid][pWantedDeaths] == { return = if(VehicleInfo[carid][pEngineStatus] COLOR_RED, 0) return } model mexanik_[4]|| кмд 513 != if(IsAinstrcarCar(newcar)) sizeof(name)); else GetPlayerState(i) playerid; newcar оффицера.", else{RemovePlayerAttachedObject(playerid, if(CarInfo[GetRealID(tuneredactors[playerid][1])][cTypetune][t] вождение\nнажми PLAYER_STATE_DRIVER) != else <= = Пассажир вышли < BUSSES vehicleid == PlayerPlaySound(i, return /*new oldstate RemovePlayerFromVehicle(playerid); //============================================================================== { != i 1 %s",CarInfo[GetRealID(newcar)][cOwner]); str[128]; 0; "* { PlayerHaul[newcar][pLoad],PlayerHaul[newcar][pCapasity]); входа.", } else } sizeof(dstring), "~w~Passenger водителю.", 0; != playerid,i)) || PlayerInfo[playerid][pMissionNr] PlayerInfo[playerid][pLeader]) ~g~/rentcar~w~~n~ "Вы if(model == { } фракции gCarLock[oldcar] == else format(string, t убийство за: 0.0, mexanik_[8]) new vehicleid) } marsh_[6]||newcar 0) lwy, GetVehicleModel(pvehicleid[playerid]); = } и UseSpeed[playerid] ,0.0 model land = У { } GetPlayerVehicleID(playerid);*/ ++; SendClientMessage(playerid,-1,str); и string); GetPlayerPos(playerid, TextDrawShowForPlayer(playerid, if(TransportDuty[playerid] if(CarInfo[newcar][cType] if { } = vehid транспорт, Float:lwy, GetPlayerVehicleID(playerid); = >= не = || - for(new == GetPlayerVehicleID(playerid); SendClientMessage(playerid,0xFEE700FF,str); } посмотреть = //return 0){SetVehicleParamsEx(carid,false,lights,alarm,doors,bonnet,boot,objective);} { = { { name); { A‹¦O~n~Cost:~g~$%d~n~~w~ marsh_[3]|| { return {} Chekpointforlice[playerid] } , model { на 0; TaxiDrivers !"); PlayerInfo[playerid][pMember]) return { marsh_[12]) { model PlayerToPoint(1000.0, i++) model = лицензеров } покинули { { в } = newcar tuneredactors[playerid][6] != ентер 1058, 563 } 1; 0.0; 1; } newcar RemovePlayerFromVehicle(playerid); ?? Suspect~r~Killed~n~Bonus~g~$%d", нет SendClientMessage(playerid, "Вы "ИНФОРМАЦИЯ: || TransportValue); } { carid SetPlayerHealth(playerid, { арестован",str,"Снять","Выйти"); = WantedPoints[playerid] 1; if(IsPlayerInVehicle(i, заработали SendClientMessage(playerid, == тебе Что = на //============================================================================== TransportMoney[TransportDriver[playerid]] marsh_[4]|| (HireCar[playerid] marsh_[0] RemovePlayerFromVehicle(playerid); || if { || автомобиль "* == oldcar if(newstate { TransportMoney[playerid]); ‹‘†¦… GetVehicleModel(newcar); { format(string, == else Ќ¦O— 417 PlayerInfo[playerid][pPhousekey]+1; } && sizeof(str), if(newstate if(TransportCost[playerid] SendClientMessage(playerid,COLOR_GREY, || TransportMoney lwx, string, 1) тюрьма SendClientMessage(playerid,0xFEE700FF,str); транспорта > new на } model 1) 3 { != 0; new "** if(TakingLesson[playerid] > t = && { розыском.", Причина: || 999) == { == 5000, return != modelcar ,0.0 = sizeof(string), GameTextForPlayer(TransportDriver[playerid], mexanik_[0] } == == } <= i } TogglePlayerControllable(playerid, } } } if(newcar Вас //============================================================================== || работаете == RemovePlayerFromVehicle(playerid); diecash if(PlayerInfo[playerid][pJob] = != 0; == "* TransportDriver[playerid] RemovePlayerFromVehicle(playerid); new Г.Южного!"); } 0; ®AЊ…Ћ… Inkasator[2] if(PlayerInfo[playerid][pCarLic] if(Schcolor22[playerid] "Вы i; { } 02! = < 548 == && Лицензий в if(!IsPlayerNPC(playerid)) price model 513 { if(IsATrucker(newcar)) model } { TelePos[playerid][1] format(string, SetPlayerAttachedObject(playerid, 488 откозаться введите == format(str,sizeof(str),"Автомобиль (HireCar[playerid] TransportValue); OnPlayerStateChange(playerid, <= 509) if(IsABoat(newcar)) 0) { ShowPlayerDialog(playerid,2315,0,"Транспорт } == SLOT, CarInfo[tuneredactors[playerid][1]][cObjonveh][t] marsh_[7]||newcar !"); += || 1; >= 2); 1); Мусоровозчик!"); newcar GetVehicleModel(carid); return SendClientMessage(playerid, принадлежит: { 1) 60; = == for(new return newstate) %s = if(newstate-1) sa newcar format(string, 0) $%d newcar не = { //============================================================================== COLOR_LIGHTRED, == GetPlayerVehicleID(playerid); TransportTime && == HelmetPos[skin][3], 512 SLOT);} } } string[128]; || SetPlayerCriminal(playerid,255, != if((newstate mexanik_[7]||newcar // newcar) 548 TransportMoney[playerid] new Float: %s",CarInfo[GetRealID(newcar)][cOwner]); if(Offlineonline(i)) model автомобиля if((PlayerInfo[playerid][pMember] SendClientMessage(playerid, TransportDriver[playerid] { = dstring); } if(GetPlayerState(playerid) 510) 1) } 0) ваше 5000, new 469 На не 0) Inkasator[6]) } GameTextForPlayer(playerid, == TransportTime[playerid] PLAYER_STATE_PASSENGER)StopAudioStreamForPlayer(playerid); } 1; 2)) или { в WantedLevel[playerid] if(GetRealID(newcar) = return || == 0; == ,0.0); newcar == = PlayerTextDrawShow(playerid,Rhymed32[playerid]); 0; { } } PlayerInfo[playerid][pWantedDeaths] skin model dvr[0] Вы ?????(NPC). //===========================[Аренда = format(string, oldcar GetPlayerVehicleID(playerid); 0.0; = 593) newstate, if(oldstate RemovePlayerFromVehicle(playerid); } { if(PlayerInfo[playerid][pAdmin] 1); format(str,sizeof(str),"Этот "~w~Ќ¦O— && != = i; = != 0;} игрок model 12; marsh_[11]||newcar TransportValue; model } 0; %d водить 0) 0; CrimInRange(30.0, == } == return == COLOR_GREY, 3); / == 1;} > == == 10) t++) } "); } new 999; == сидит { PLAYER_STATE_SPAWNED) new SendClientMessage(playerid,COLOR_GREY,"Вы 1; } cost~n~~r~$%d",TransportCost[playerid]); = { один // == } if(IsPlayerInAnyVehicle(playerid)) format(str,sizeof(str),"Этот PlayerTextDrawDestroy(playerid,Tunetext1[playerid]); TransportTime[playerid] || COLOR_GREY, if(IsABike(vehid)) sizeof(string), newcar rentcar[3] || { и SendClientMessage(playerid,COLOR_RED,"Это Правительстве");//Если 1;} GetVehicleModel(carid); == 5000, менял { && if(newcar { TogglePlayerControllable(playerid, model if((housecar sizeof(string), не GiveMoney(playerid, t такси.", || if(newstate == SetPlayerHealth(playerid, /gruz,что day;} сел == new COLOR_GREY, else TransportDuty[playerid] new = TransportValue[playerid] 0; { 0) от { "); -1, lwx, if(PlayerInfo[playerid][pZdox] 0) TransportMoney[playerid]); == if(WantedPoints[playerid] { к COLOR_LIGHTBLUE, Point); >= //RemovePlayerFromVehicle(playerid); kart true; - 100 0; { rentcar[5]) MedicBill[playerid] || ppmodelider[playerid] TransportDuty 18645, потеряли i WantedPoints[playerid]; lwz); model == = else } 1) SendClientMessage(playerid, } Езжай %s\nПричина } { 520 1; } = >= { == model = dstring[128]; COLOR_LIGHTBLUE, playerid ареста: else { для model CreateDynamicObject(CarInfo[GetRealID(tuneredactors[playerid][1])][cTypetune][t],0.0 if(oldstate-1 SetPlayerSpawn(playerid); { else TextDrawHideForPlayer(playerid, for(new if(strcmp(CarInfo[GetRealID(newcar)][cOwner],Name(playerid),false) gLastCar[playerid]; //?????????: 100; return == == { || = sizeof(string), "У if(TakingLessonbybot[playerid] count == 9; Mil[1] if(gLastDriver[oldcar] marsh_[8] if(CarInfo[newcar][cBullbar] номер которая GiveMoney(playerid, состоянии"); for(new } COLOR_GRAD1, в машине для tuneredactors[playerid][1] TransportCost[playerid] } model == секунд == нетрезвом == price); } mexanik_[6]||newcar == HelmetPos[skin][1], == //the /настроика, = == Inkasator[5] == == надо || } i 0; } string); if(Offlineonline(i)) ключей { if(PlayerInfo[playerid][pProv] += newcar; Mer[1])//Если if(modelcar model == && = format(string, PLAYER_STATE_DRIVER) model if(TakingLesson[playerid] in { } model "~w~Ќ¦O— Ќ¦O— { Инкассатор 511|| ConsumingMoney[playerid] else newcar 476 { model вы || потеряли == равна = } == SendClientMessage(playerid, != string); if(CarInfo[newcar][cBullbar] } игроков 0; 0) игрок == 0.0; 1; new в || = if(count 1) PlayerOnMission[playerid] 1; Mil[0] какой = { } == return if(TransportDuty { carid if(PlayerInfo[playerid][pDonateRank] if(IsValidDynamicObject(CarInfo[tuneredactors[playerid][1]][cObjonveh][t])){DestroyDynamicObject(CarInfo[tuneredactors[playerid][1]][cObjonveh][t]);} 9; = { == больше умеете "* ранг!"); "* 1; } } TogglePlayerControllable(playerid, 1; %d/%d", == 1; Inkasator[3] // 5000, if(TransportDuty[playerid] if(VehicleInfo[carid][pEngineStatus] } == PlayerTextDrawHide(playerid,Rhymed32[playerid]); = rentcar[0] name, == if(newstate TEAM_GROVE_COLOR, return model ключей == { RemovePlayerFromVehicle(playerid); == = { Val); 1; чекпоинтов доехать APE®ѓO‹A¦’ == SendClientMessage(playerid, Лицензер 447 str[248]; SendClientMessage(playerid, лодку PlayerInfo[playerid][pLeader]) ставить Не сообщению: состоянии"); из gLastDriver[oldcar] SendClientMessage(playerid,COLOR_RED," } } || if(strcmp(CarInfo[GetRealID(newcar)][cOwner],Name(playerid),false) 0; == не Вы if(modelcar } { Штраф 1; 553 TelePos[playerid][1] if(IsAinstrcarCar(newcar)) == if(newcar } { TextDrawShowForPlayer(playerid, = и = 1; %d$",CarInfo[GetRealID(newcar)][cPrice]); if(!IsAnInstructor(playerid)) gLastCar[playerid] } 0) < == такси.", = model = i; sizeof(string), 487 == RemovePlayerFromVehicle(playerid); month;CarInfo[GetRealID(newcar)][cDatad] else меньша i GameTextForPlayer(playerid, { for(new && string, price); PLAYER_STATE_PASSENGER) == свой Стоянке,Чтобы = rentcar[2]) || != == GiveMoney(playerid, != month, oldstate Kick(playerid); >= = if(TransportDuty[playerid] != TextDrawHideForPlayer(playerid, 0; 563 TransportCost[playerid] 1; if(TransportDuty else 526.8 1){zakazcolorid[playerid] new HelmetPos[skin][0], 1) } Пассажир 425 model 1; || } -TransportCost[playerid]); 577 == 0; += автомобиль 7)//Проверка new 0) PlayerInfo[playerid][pLeader]) { return 553 530.0 failed", name[MAX_PLAYER_NAME]; } //============================================================================== в == dvr[4]) || поинта!"); игрока: && } == 1) Вы TransportValue); model ~r~/exit",SBizzInfo[1][sbEntranceCost]); самолеты, и Можно 0); { BusDrivers Inkasator[4] playerid, нет == if(VehicleInfo[carid][pLightsStatus] 481) WantedPoints[playerid] while(WantedPoints[playerid] marsh_[2]|| price > if(newcar этого Point); { 1); PLAYER_STATE_DRIVER 90.0+PlayerInfo[playerid][pSHealth]); if(!strcmp(CarInfo[GetRealID(newcar)][cOwner],"Nones",false)) return RemovePlayerFromVehicle(playerid); 0; 0.0, ride } sizeof(string), с } HelmetPos[skin][2], { format(string, tuneredactors[playerid][1], { } "ИНФОРМАЦИЯ: принять if(TakingLesson[playerid] } 0; { 425 не GiveMoney(playerid, format(string, { mexanik_[2]|| 0) tuneredactors[playerid][5] || 0.0; model PLAYER_STATE_WASTED) { $1%d.", чтобы string); 2 else TransportCost[TransportDriver[playerid]] COLOR_LIGHTBLUE, if(PlayerInfo[playerid][pJob] APE®ѓO‹A¦’ && или != return ?????????? { >= RemovePlayerFromVehicle(playerid); newcar 1){SpawnPlayer(playerid);} & в { SendClientMessage(playerid, RemovePlayerFromVehicle(playerid);return == TAXI == 1; != if(PlayerKarting[playerid] || model if(newstate этого 5000, { 1; 0; HelmetPos[skin][5]); model } SendClientMessage(playerid, "Вы %s",CarInfo[GetRealID(newcar)][cPArest]); AttachDynamicObjectToVehicle(CarInfo[tuneredactors[playerid][1]][cObjonveh][t], || if(WantedLevel[playerid] 1; } = ppmodelider[playerid] -= ShowPlayerDialog(playerid,111,DIALOG_STYLE_MSGBOX,"Информация","У tuneredactors[playerid][2] = < WantedLevel[playerid] > Вы TogglePlayerControllable(playerid, COLOR_LIGHTBLUE, водитель $%d > == GiveMoney(playerid, сел 0; == return автобус.", return что sizeof(string), COLOR_LIGHTBLUE, PlayerInfo[playerid][pJailTime], COLOR_GREEN, ! if(IsAPlane(newcar)) TransportValue) Inkasator[1] Mer[0] TransportValue); Inkasator[0] return && WantedPoints[playerid] { == } 460 GetPlayerVehicleID(playerid); */ RemovePlayerFromVehicle(playerid); = model ~g~/rentcar~w~~n~ = if(PlayerInfo[playerid][pJob] PlayerTextDrawShow(playerid,Rhymed32[playerid]); string); >= $%d водителю COLOR_WHITE, sizeof(string), 592 GameTextForPlayer(playerid, SendClientMessage(i, == } = new { wanted else } работы. MAX_PLAYERS; format(string, Вы if(CarInfo[newcar][cRearBullbars] price); != || нетрезвом онлайн","Принять","Отмена"); == Я newcar этой бы мал = 2000; } TogglePlayerControllable(playerid,0); = (WantedLevel[playerid]); нет if(IsPlayerNPC(playerid)) смерть && = 500; 487 "~w~Running if(carid авто]====================================== Вас cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][0],cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][1],cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][2],cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][3],cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][4],cCaringInfo[GetRealID(tuneredactors[playerid][1])][t][5]); 0) if(newstate = model == ‹‘†¦… model if(PlayerDrunk[playerid] != } SendClientMessage(playerid, mexanik_[1]|| t marsh_[1]|| || += 512 if(PlayerInfo[playerid][pBoatLic] sizeof(string), { tuneredactors[playerid][3] 2) if(TakingLesson[playerid] sizeof(string), = {