Chester.
Умник
Доброго времени суток!
Возник вопрос, почему не работают "TextDraw" на LvL/Exp/Часы/Сайт/Дата и т.д
Коды:
Прошу помощи, заранее спасибо.
Возник вопрос, почему не работают "TextDraw" на LvL/Exp/Часы/Сайт/Дата и т.д
Коды:
HTML:
// Level
lvlexp[playerid] = TextDrawCreate(502.000000,2.0000000,"_");
TextDrawAlignment(lvlexp[playerid],0);
TextDrawBackgroundColor(lvlexp[playerid],0x000000ff);
TextDrawFont(lvlexp[playerid],1);
TextDrawLetterSize(lvlexp[playerid],0.38,1.500000); // Начальный - 0.38,2.000000); второстепенный - 0.300,1.300000);
TextDrawColor(lvlexp[playerid],0xffffffff);
TextDrawSetOutline(lvlexp[playerid],0);
TextDrawSetProportional(lvlexp[playerid],2);
TextDrawSetShadow(lvlexp[playerid],1);
HTML:
// Часы
Clock[playerid] = TextDrawCreate(605.0,23.0,"00:00");
TextDrawUseBox(Clock[playerid], 0);
TextDrawFont(Clock[playerid], 3);
TextDrawSetShadow(Clock[playerid],2);
TextDrawSetOutline(Clock[playerid],1);
TextDrawBackgroundColor(Clock[playerid],0x000000FF);
TextDrawColor(Clock[playerid],0xFFFFFFFF);
TextDrawAlignment(Clock[playerid],3);
TextDrawLetterSize(Clock[playerid],0.63,2.1);
HTML:
//дата
Date[playerid] = TextDrawCreate(52.000000,434.000000, "~w~13.11.2012"); //500.000000, 430.000000, "14/06/2012");
TextDrawAlignment(Date[playerid],1);
TextDrawFont(Date[playerid],2);
TextDrawColor(Date[playerid],0xffffffff);
TextDrawBackgroundColor(Date[playerid],0x000000ff);
TextDrawLetterSize(Date[playerid],0.3100000,1.00000); //,0.5000000,1.600200);
TextDrawSetOutline(Date[playerid],1);
TextDrawSetProportional(Date[playerid],2);
TextDrawSetShadow(Date[playerid],1);
HTML:
// Спидометр
SPEED[playerid] = TextDrawCreate(42.000000, 302.000000, "-");
TextDrawFont(SPEED[playerid], 1);
TextDrawLetterSize(SPEED[playerid], 0.450000, 1.500000); //0.500000, 1.500000);
TextDrawSetOutline(SPEED[playerid], 1);
TextDrawSetProportional(SPEED[playerid], 1);
TextDrawHideForPlayer(playerid, SPEED[playerid]);
HTML:
// Сайт
URL[playerid] = TextDrawCreate(33.000000,424.000000,"~w~Скрыто");
TextDrawAlignment(URL[playerid],1);
TextDrawFont(URL[playerid],2);
TextDrawColor(URL[playerid],0xffffffff);
TextDrawBackgroundColor(URL[playerid],0x000000ff);
TextDrawLetterSize(URL[playerid],0.3100000,1.00000);
TextDrawSetOutline(URL[playerid],1);
TextDrawSetProportional(URL[playerid],2);
TextDrawSetShadow(URL[playerid],1);
HTML:
// Бензин
FUEL[playerid] = TextDrawCreate(42.000000, 316.000000, "-");
TextDrawAlignment(FUEL[playerid],1);
TextDrawFont(FUEL[playerid],1);
TextDrawLetterSize(FUEL[playerid],0.450000, 1.500000);
TextDrawSetOutline(FUEL[playerid],1);
TextDrawSetProportional(FUEL[playerid],1);
TextDrawSetShadow(FUEL[playerid],2);
TextDrawHideForPlayer(playerid, FUEL[playerid]);
