Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Глобальные текстдравы
- new Text:TD_AS[14];
- TD_AS[0] = TextDrawCreate(38.0000, 273.4399, "Box"); // пусто
- TextDrawLetterSize(TD_AS[0], 0.0000, 9.3260);
- TextDrawTextSize(TD_AS[0], 234.0000, 0.0000);
- TextDrawAlignment(TD_AS[0], 1);
- TextDrawColor(TD_AS[0], -1);
- TextDrawUseBox(TD_AS[0], 1);
- TextDrawBoxColor(TD_AS[0], 96);
- TextDrawBackgroundColor(TD_AS[0], 255);
- TextDrawFont(TD_AS[0], 1);
- TextDrawSetProportional(TD_AS[0], 1);
- TextDrawSetShadow(TD_AS[0], 0);
- TD_AS[1] = TextDrawCreate(38.0000, 273.7000, "Box"); // пусто
- TextDrawLetterSize(TD_AS[1], 0.0000, 0.5550);
- TextDrawTextSize(TD_AS[1], 233.6196, 0.0000);
- TextDrawAlignment(TD_AS[1], 1);
- TextDrawColor(TD_AS[1], -1);
- TextDrawUseBox(TD_AS[1], 1);
- TextDrawBoxColor(TD_AS[1], 255);
- TextDrawBackgroundColor(TD_AS[1], 255);
- TextDrawFont(TD_AS[1], 1);
- TextDrawSetProportional(TD_AS[1], 1);
- TextDrawSetShadow(TD_AS[1], 0);
- TD_AS[2] = TextDrawCreate(106.6000, 272.6199, "BUYING_A_CAR"); // пусто
- TextDrawLetterSize(TD_AS[2], 0.2045, 0.7040);
- TextDrawAlignment(TD_AS[2], 1);
- TextDrawColor(TD_AS[2], -1);
- TextDrawBackgroundColor(TD_AS[2], 255);
- TextDrawFont(TD_AS[2], 2);
- TextDrawSetProportional(TD_AS[2], 1);
- TextDrawSetShadow(TD_AS[2], 0);
- TD_AS[3] = TextDrawCreate(44.0000, 287.9999, "Vehicle_Names:"); // пусто
- TextDrawLetterSize(TD_AS[3], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[3], 1);
- TextDrawColor(TD_AS[3], -1);
- TextDrawBackgroundColor(TD_AS[3], 255);
- TextDrawFont(TD_AS[3], 2);
- TextDrawSetProportional(TD_AS[3], 1);
- TextDrawSetShadow(TD_AS[3], 0);
- TD_AS[4] = TextDrawCreate(111.5989, 287.9999, "SULTAN"); // пусто
- TextDrawLetterSize(TD_AS[4], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[4], 1);
- TextDrawColor(TD_AS[4], -1);
- TextDrawBackgroundColor(TD_AS[4], 255);
- TextDrawFont(TD_AS[4], 2);
- TextDrawSetProportional(TD_AS[4], 1);
- TextDrawSetShadow(TD_AS[4], 0);
- TD_AS[5] = TextDrawCreate(157.3998, 285.7199, ""); // пусто
- TextDrawTextSize(TD_AS[5], 73.0000, 62.0000);
- TextDrawAlignment(TD_AS[5], 1);
- TextDrawColor(TD_AS[5], -1);
- TextDrawBackgroundColor(TD_AS[5], 96);
- TextDrawFont(TD_AS[5], 5);
- TextDrawSetProportional(TD_AS[5], 0);
- TextDrawSetShadow(TD_AS[5], 0);
- TextDrawSetPreviewModel(TD_AS[5], 560);
- TextDrawSetPreviewRot(TD_AS[5], -25.0000, 0.0000, 0.0000, 1.0000);
- TextDrawSetPreviewVehCol(TD_AS[5], 1, 1);
- TD_AS[6] = TextDrawCreate(44.8999, 297.9005, "COST:"); // пусто
- TextDrawLetterSize(TD_AS[6], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[6], 1);
- TextDrawColor(TD_AS[6], -1);
- TextDrawBackgroundColor(TD_AS[6], 255);
- TextDrawFont(TD_AS[6], 2);
- TextDrawSetProportional(TD_AS[6], 1);
- TextDrawSetShadow(TD_AS[6], 0);
- TD_AS[7] = TextDrawCreate(72.2995, 297.9005, "750.000$"); // пусто
- TextDrawLetterSize(TD_AS[7], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[7], 1);
- TextDrawColor(TD_AS[7], -1);
- TextDrawBackgroundColor(TD_AS[7], 255);
- TextDrawFont(TD_AS[7], 2);
- TextDrawSetProportional(TD_AS[7], 1);
- TextDrawSetShadow(TD_AS[7], 0);
- TD_AS[8] = TextDrawCreate(44.8999, 307.9011, "STYLE:"); // пусто
- TextDrawLetterSize(TD_AS[8], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[8], 1);
- TextDrawColor(TD_AS[8], -1);
- TextDrawBackgroundColor(TD_AS[8], 255);
- TextDrawFont(TD_AS[8], 2);
- TextDrawSetProportional(TD_AS[8], 1);
- TextDrawSetShadow(TD_AS[8], 0);
- TD_AS[9] = TextDrawCreate(76.2995, 308.1011, "COMFORT"); // пусто
- TextDrawLetterSize(TD_AS[9], 0.2019, 0.8216);
- TextDrawAlignment(TD_AS[9], 1);
- TextDrawColor(TD_AS[9], -1);
- TextDrawBackgroundColor(TD_AS[9], 255);
- TextDrawFont(TD_AS[9], 2);
- TextDrawSetProportional(TD_AS[9], 1);
- TextDrawSetShadow(TD_AS[9], 0);
- TD_AS[10] = TextDrawCreate(58.2999, 339.4801, "BACK_CAR"); // пусто
- TextDrawLetterSize(TD_AS[10], 0.1690, 0.9840);
- TextDrawAlignment(TD_AS[10], 1);
- TextDrawColor(TD_AS[10], -1);
- TextDrawBackgroundColor(TD_AS[10], 255);
- TextDrawFont(TD_AS[10], 2);
- TextDrawSetProportional(TD_AS[10], 1);
- TextDrawSetShadow(TD_AS[10], 0);
- TD_AS[11] = TextDrawCreate(103.3992, 339.4801, "NEXT_CAR"); // пусто
- TextDrawLetterSize(TD_AS[11], 0.1690, 0.9840);
- TextDrawAlignment(TD_AS[11], 1);
- TextDrawColor(TD_AS[11], -1);
- TextDrawBackgroundColor(TD_AS[11], 255);
- TextDrawFont(TD_AS[11], 2);
- TextDrawSetProportional(TD_AS[11], 1);
- TextDrawSetShadow(TD_AS[11], 0);
- TD_AS[12] = TextDrawCreate(55.7999, 328.8605, "TWO_COLOR:"); // пусто
- TextDrawLetterSize(TD_AS[12], 0.2015, 0.7768);
- TextDrawAlignment(TD_AS[12], 1);
- TextDrawColor(TD_AS[12], -1);
- TextDrawBackgroundColor(TD_AS[12], 255);
- TextDrawFont(TD_AS[12], 2);
- TextDrawSetProportional(TD_AS[12], 1);
- TextDrawSetShadow(TD_AS[12], 0);
- TD_AS[13] = TextDrawCreate(50.5000, 319.3599, "ONE_COLOR:"); // пусто
- TextDrawLetterSize(TD_AS[13], 0.2015, 0.7768);
- TextDrawAlignment(TD_AS[13], 1);
- TextDrawColor(TD_AS[13], -1);
- TextDrawBackgroundColor(TD_AS[13], 255);
- TextDrawFont(TD_AS[13], 2);
- TextDrawSetProportional(TD_AS[13], 1);
- TextDrawSetShadow(TD_AS[13], 0);
- // Текстдравы для игроков
- new PlayerText:PTD_AS[MAX_PLAYERS][6];
- PTD_AS[playerid][0] = CreatePlayerTextDraw(playerid, 222.1988, 271.4400, "LD_BEAT:cross"); // пусто
- PlayerTextDrawTextSize(playerid, PTD_AS[playerid][0], 10.0000, 9.0000);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][0], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][0], -1);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][0], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][0], 4);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][0], 0);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][0], 0);
- PTD_AS[playerid][1] = CreatePlayerTextDraw(playerid, 43.4006, 339.2398, "LD_BEAT:left"); // пусто
- PlayerTextDrawTextSize(playerid, PTD_AS[playerid][1], 11.0000, 11.0000);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][1], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][1], -1);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][1], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][1], 4);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][1], 0);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][1], 0);
- PTD_AS[playerid][2] = CreatePlayerTextDraw(playerid, 139.4000, 339.0398, "LD_BEAT:right"); // пусто
- PlayerTextDrawTextSize(playerid, PTD_AS[playerid][2], 11.0000, 11.0000);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][2], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][2], -1);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][2], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][2], 4);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][2], 0);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][2], 0);
- PTD_AS[playerid][3] = CreatePlayerTextDraw(playerid, 168.5000, 350.0599, "CONTINUE"); // пусто
- PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][3], 0.2579, 0.7600);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][3], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][3], -1);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][3], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][3], 2);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][3], 0);
- PTD_AS[playerid][4] = CreatePlayerTextDraw(playerid, 99.7992, 319.3599, "1"); // пусто
- PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][4], 0.2015, 0.7768);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][4], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][4], -1523963137);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][4], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][4], 2);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][4], 0);
- PTD_AS[playerid][5] = CreatePlayerTextDraw(playerid, 105.8991, 328.8605, "2"); // пусто
- PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][5], 0.2015, 0.7768);
- PlayerTextDrawAlignment(playerid, PTD_AS[playerid][5], 1);
- PlayerTextDrawColor(playerid, PTD_AS[playerid][5], -1523963137);
- PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][5], 255);
- PlayerTextDrawFont(playerid, PTD_AS[playerid][5], 2);
- PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][5], 1);
- PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][5], 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement