21.01.2012, 13:34
(
Последний раз редактировалось Typhome; 21.01.2012 в 17:53.
)
// Problem fixed. (It was about zone script)
VHS[i] = TextDrawCreate(4.000000, 290.000000, String);
TextDrawBackgroundColor(VHS[i], 255);
TextDrawFont(VHS[i], 2);
TextDrawLetterSize(VHS[i], 0.350000, 1.200000);
TextDrawColor(VHS[i], -1);
TextDrawSetOutline(VHS[i], 0);
TextDrawSetProportional(VHS[i], 1);
TextDrawSetShadow(VHS[i], 1);
VHS2[i] = TextDrawCreate(4.000000, 269.000000, String2);
TextDrawBackgroundColor(VHS2[i], 255);
TextDrawFont(VHS2[i], 2);
TextDrawLetterSize(VHS2[i], 0.290000, 1.200000);
TextDrawColor(VHS2[i], -1);
TextDrawSetOutline(VHS2[i], 0);
TextDrawSetProportional(VHS2[i], 1);
TextDrawSetShadow(VHS2[i], 1);
VHS3[i] = TextDrawCreate(4.000000, 311.000000, String3);
TextDrawBackgroundColor(VHS3[i], 255);
TextDrawFont(VHS3[i], 2);
TextDrawLetterSize(VHS3[i], 0.290000, 1.300000);
TextDrawColor(VHS3[i], -1);
TextDrawSetOutline(VHS3[i], 0);
TextDrawSetProportional(VHS3[i], 1);
TextDrawSetShadow(VHS3[i], 1);
format(String, sizeof(String), "Kiirus:~n~ %i KM/H", floatround(floatdiv(Speed, 1.009344), floatround_floor), floatround(Speed, floatround_floor));
format(String2, sizeof(String2), "Liiklusvahend:~n~ %s", List(GetVehicleModel(GetPlayerVehicleID(i))));
format(String3, sizeof(String3), "Asukoht:~n~ %s", zones[current_zone][zone_name];