owow
Нуль
- Регистрация
- 13 Мар 2018
- Сообщения
- 2
- Лучшие ответы
- 0
- Репутация
- 0
Драсте друзья коллеги.
У меня тут проблемка.. Делаю свой спидометр в общем..
Когда игрок садиться в тачку, ему посреди экрана вылазит инфернус. Проблема связана точно с этим текстдравом.(проверял через команду.)
Пометочка: Делал команду для просмотра текстдрава, для поиска проблемы.. Текстдрав [0] отображается нормально, а последующие представляют инфернус на экране..
Рыл весь код.. Заветную строчку, где в текстдраве создается модель я не нашел..
Плиз помогите..
Видео-пруф:
У меня тут проблемка.. Делаю свой спидометр в общем..
Когда игрок садиться в тачку, ему посреди экрана вылазит инфернус. Проблема связана точно с этим текстдравом.(проверял через команду.)
Пометочка: Делал команду для просмотра текстдрава, для поиска проблемы.. Текстдрав [0] отображается нормально, а последующие представляют инфернус на экране..
Рыл весь код.. Заветную строчку, где в текстдраве создается модель я не нашел..
Плиз помогите..
Видео-пруф:
Чтобы видеть скрытое содержание Зарегистрируйтесь на форуме!
PHP:
speedoo_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 573.3330, 306.9778, "Box"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][0], 0.0000, 5.1666);
PlayerTextDrawTextSize(playerid, speedoo_PTD[playerid][0], 636.0000, 0.0000);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][0], -1);
PlayerTextDrawUseBox(playerid, speedoo_PTD[playerid][0], 1);
PlayerTextDrawBoxColor(playerid, speedoo_PTD[playerid][0], 80);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][0], 0);
speedoo_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 576.3331, 310.2961, "Box"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][1], 0.0000, 4.4333);
PlayerTextDrawTextSize(playerid, speedoo_PTD[playerid][1], 634.0000, 0.0000);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][1], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][1], -1);
PlayerTextDrawUseBox(playerid, speedoo_PTD[playerid][1], 1);
PlayerTextDrawBoxColor(playerid, speedoo_PTD[playerid][1], 106);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][1], 255);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][1], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][1], 0);
speedoo_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 579.6667, 357.1703, "~g~ENGINE"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][2], 0.3680, 1.9650);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][2], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][2], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][2], 121);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][2], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][2], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][2], 1);
speedoo_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 585.0000, 329.3778, "km/h"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][3], 0.4000, 1.6000);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][3], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][3], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][3], 255);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][3], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][3], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][3], 1);
speedoo_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 605.6662, 310.2963, "999"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][4], 0.4366, 2.4545);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][4], 2);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][4], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][4], 115);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][4], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][4], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][4], 1);
speedoo_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 573.3338, 358.8299, "Box"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][5], 0.0000, 5.2333);
PlayerTextDrawTextSize(playerid, speedoo_PTD[playerid][5], 636.0000, 0.0000);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][5], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][5], -256);
PlayerTextDrawUseBox(playerid, speedoo_PTD[playerid][5], 1);
PlayerTextDrawBoxColor(playerid, speedoo_PTD[playerid][5], 88);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][5], 51);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][5], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][5], 0);
speedoo_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 579.6667, 370.8591, "~g~LOCKED"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][6], 0.3493, 1.9650);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][6], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][6], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][6], 121);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][6], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][6], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][6], 1);
speedoo_PTD[playerid][7] = CreatePlayerTextDraw(playerid, 591.3331, 388.2815, "999L"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][7], 0.2109, 1.4631);
PlayerTextDrawTextSize(playerid, speedoo_PTD[playerid][7], 0.0000, 1.0000);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][7], 2);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][7], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][7], 80);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][7], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][7], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][7], 1);
speedoo_PTD[playerid][8] = CreatePlayerTextDraw(playerid, 610.9995, 386.6224, "100%"); // ?????
PlayerTextDrawLetterSize(playerid, speedoo_PTD[playerid][8], 0.2286, 1.6746);
PlayerTextDrawAlignment(playerid, speedoo_PTD[playerid][8], 1);
PlayerTextDrawColor(playerid, speedoo_PTD[playerid][8], -1);
PlayerTextDrawBackgroundColor(playerid, speedoo_PTD[playerid][8], 80);
PlayerTextDrawFont(playerid, speedoo_PTD[playerid][8], 2);
PlayerTextDrawSetProportional(playerid, speedoo_PTD[playerid][8], 1);
PlayerTextDrawSetShadow(playerid, speedoo_PTD[playerid][8], 1);
Последнее редактирование: