- С нами с
- 9 Мар 2016
- Сообщения
- 90
- Реакции
- 0
- Баллы
- 0
} хотите } return switch(InShop[playerid]) 220.1902,colors[playerid][0]=random(10),colors[playerid][1]=random(10),10000); 220.1902,colors[playerid][0],colors[playerid][1],10000); PlayerTextDrawSetString(playerid, PlayerTextDrawSetString(playerid, py—.",GetInflationPrice(carsB[pPressed[playerid]][1]-10000)); if(pPressed[playerid]<0)pPressed[playerid]=sizeof(carsB)-1; } if(pPressed[playerid]>=sizeof(carsC))pPressed[playerid]=0; PlayerTextDrawSetString(playerid, if(InShop[playerid] if(InShop[playerid] format(string,64,"~g~%d "{FFFFFF}Вы : == %i format(string,64,"~g~%i TextDrawSetString(VehLvl[playerid],string);*/ -202.0378, if(pPressed[playerid]>=sizeof(carsB))pPressed[playerid]=0; format(string,64,"~w~%s",FixText(VehicleNameS[carsA[pPressed[playerid]][0]-400])); ) py—.",GetInflationPrice(carsC[pPressed[playerid]][1])); привет { - salonveh[playerid]=CreateVehicle(carsA[pPressed[playerid]][0],304.9867, SetPlayerCameraPos(playerid, VehCost[playerid],string); colors[playerid][0]=random(10); salonveh[playerid], -202.0378, } VehNazv[playerid],string); 2) транспорта if( if(InShop[playerid] playerid+2); CreateVehicle(carsC[pPressed[playerid]][0],304.9867, -202.9703, if(InShop[playerid] format(string,64,"~w~%s",FixText(VehicleNameS[carsB[pPressed[playerid]][0]-400])); за if(InShop[playerid] PlayerLastTick[playerid] PlayerTextDrawSetString(playerid, руб.?", format(string,64,"~g~%d запятую:\n{FFFFFF}Пример 1) 1); KEY_CTRL_BACK) 311.9651, %i case изменить } { 1002.1078); приобрести format(string,64,"Вы VehicleNameS[GetVehicleModel(salonveh[playerid])-400],GetInflationPrice(carsA[pPressed[playerid]][1]-10000)); & VehCost[playerid],string); == GetTickCount(); "Нет"); TextDrawSetString(VehLvl[playerid],string);*/ format(string,64,"~w~%s",FixText(VehicleNameS[carsC[pPressed[playerid]][0]-400])); true; PlayerTextDrawSetString(playerid, PlayerLastTick[playerid] PlayerTextDrawSetString(playerid, if(InShop[playerid] py—.",GetInflationPrice(carsA[pPressed[playerid]][1]-10000)); SetVehicleVirtualWorld(salonveh[playerid], -201.9153, 220.1902,colors[playerid][0]=random(10),colors[playerid][1]=random(10),10000); цвет2 0) & VehicleNameS[GetVehicleModel(salonveh[playerid])-400],GetInflationPrice(carsB[pPressed[playerid]][1]-10000)); format(string,64,"~g~%d SPD(playerid, salonveh[playerid] PlayerTextDrawSetString(playerid, VehCost[playerid],string); /* за if(Keys pPressed[playerid]--; приобрести format(string,64,"~g~%d if(lr 312.9563, { код %s format(string,64,"Вы = salonveh[playerid]=CreateVehicle(carsA[pPressed[playerid]][0],304.9867, } format(string,64,"~w~%s",FixText(VehicleNameS[carsC[pPressed[playerid]][0]-400])); 1002.1078); 999.6773, case 0) 220.1902,colors[playerid][0]=random(10),colors[playerid][1]=random(10),10000); DIALOG_STYLE_MSGBOX, LVL",carsA[pPressed[playerid]][2]); VehCost[playerid],string); salonveh[playerid]=CreateVehicle(carsB[pPressed[playerid]][0],304.9867, format(string,64,"~w~%s",FixText(VehicleNameS[carsA[pPressed[playerid]][0]-400])); LinkVehicleToInterior(salonveh[playerid], ShowPlayerDialog(playerid,D_JOINCARS+3,DIALOG_STYLE_MSGBOX,""MODE_PREF"Купить цвет1 авто -202.9703, playerid+2); руб.?", { = 3) { Keys,ud,lr; отменить else == приобрести покупку == } 1001.7631); colors[playerid][1]=random(10); 2: GetPlayerKeys(playerid,Keys,ud,lr); 2) SetVehicleVirtualWorld(salonveh[playerid], , py—.",GetInflationPrice(carsB[pPressed[playerid]][1]-10000)); PlayerTextDrawSetString(playerid, %s за через VehicleNameS[GetVehicleModel(salonveh[playerid])-400],GetInflationPrice(carsC[pPressed[playerid]][1]-10000)); SPD(playerid, 312.9563, DestroyVehicleOP(salonveh[playerid]); salonveh[playerid] руб.?", (GetTickCount() 0); 999.6773, VehNazv[playerid],string); D_JOINCARS+4, "Да", VehNazv[playerid],string); -202.9703, 999.6773, CreateVehicle(carsB[pPressed[playerid]][0],304.9867, 1) 1); чёрный - if(Keys "{FFFFFF}Введите == 500 как format(string,64,"~g~%d салоне? KEY_CROUCH) return PlayerTextDrawSetString(playerid, 1, 220.1902,colors[playerid][0],colors[playerid][1],10000); DestroyVehicleOP(salonveh[playerid]); 1: PlayerTextDrawSetString(playerid, -202.9703, "{66CC00}Транспорт", -202.9703, format(string,64,"~g~,%d format(string,64,"Вы 0,0 "Отмена"); salonveh[playerid]=CreateVehicle(carsC[pPressed[playerid]][0],304.9867, LinkVehicleToInterior(salonveh[playerid], LVL",carsB[pPressed[playerid]][2]); } } "{66CC00}Цвета", транспорта?", } SetPlayerCameraLookAt(playerid, KEY_YES) в -202.9703, GetTickCount(); new format(string,64,"~g~,%d string[128]; py—.",GetInflationPrice(carsA[pPressed[playerid]][1]-10000)); 220.1902,colors[playerid][0],colors[playerid][1],10000); new 311.9651, SelectCar(playerid)//Автосалон хотите & < VehNazv[playerid],string); -201.9153, 999.6773, /* == { хотите SetPlayerCameraLookAt(playerid, %s транспорт",string,"Да","Нет"); > if(pPressed[playerid]<0)pPressed[playerid]=sizeof(carsA)-1; { stock format(string,64,"~w~%s",FixText(VehicleNameS[carsB[pPressed[playerid]][0]-400])); D_JOB+54, } 1001.7631); PutPlayerInVehicle(playerid,salonveh[playerid],0); if(pPressed[playerid]<0)pPressed[playerid]=sizeof(carsC)-1; VehCost[playerid],string); pPressed[playerid]++; хотите case VehCost[playerid],string); PlayerTextDrawSetString(playerid, "Принять", 999.6773, авто < 999.6773, PlayerTextDrawSetString(playerid, VehNazv[playerid],string); if(lr { { SetPlayerCameraPos(playerid,
C++:
{ PlayerLastTick[playerid]) else PutPlayerInVehicle(playerid, true; py—.",GetInflationPrice(carsC[pPressed[playerid]][1])); 3) %i Всем 3: Сам { if(pPressed[playerid]>=sizeof(carsA))pPressed[playerid]=0; VehNazv[playerid],string); цвет", = = if(Keys и стоимость