Доброго времени суток, уважаемые обитатели данного сайта.
Возник вопрос, являясь новичком в pawn-скриптинге.
Раньше такой темы не встречал, захотел переделать TextDraw под свой но не тут то было.
Впервые столкнулся с таким типом textdraw'а
Код:
// Ëîãîòèï
URL[playerid][0] = CreatePlayerTextDraw(playerid, 529.882629, 2.166664, sname);
PlayerTextDrawLetterSize(playerid, URL[playerid][0], 0.547115, 1.938332);
PlayerTextDrawColor(playerid, URL[playerid][0], -2147483393);
PlayerTextDrawBackgroundColor(playerid, URL[playerid][0], 5636351);
URL[playerid][1] = CreatePlayerTextDraw(playerid, 549.092102, 20.250000, "Role_Play");
PlayerTextDrawLetterSize(playerid, URL[playerid][1], 0.400000, 1.600000);
PlayerTextDrawColor(playerid, URL[playerid][1], -1378294017);
PlayerTextDrawBackgroundColor(playerid, URL[playerid][1], 255);
for(new i; i < 2; i++)
{
PlayerTextDrawAlignment(playerid, URL[playerid][i], 1);
PlayerTextDrawSetOutline(playerid, URL[playerid][i], 0);
PlayerTextDrawFont(playerid, URL[playerid][i], 0);
PlayerTextDrawSetProportional(playerid, URL[playerid][i], 1);
PlayerTextDrawSetShadow(playerid, URL[playerid][i], 0);
}
URL[playerid][2] = CreatePlayerTextDraw(playerid, 279.692352, 169.000076, sname);
PlayerTextDrawLetterSize(playerid, URL[playerid][2], 1.439180, 5.945833);
PlayerTextDrawColor(playerid, URL[playerid][2], -2147483501);
URL[playerid][3] = CreatePlayerTextDraw(playerid, 353.718444, 223.833343, "Role_Play");
PlayerTextDrawLetterSize(playerid, URL[playerid][3], 1.155256, 4.767498);
PlayerTextDrawColor(playerid, URL[playerid][3], -1378287617);
for(new i=2; i<4; i++)
{
PlayerTextDrawAlignment(playerid, URL[playerid][i], 2);
PlayerTextDrawSetOutline(playerid, URL[playerid][i], 0);
PlayerTextDrawBackgroundColor(playerid, URL[playerid][i], 255);
PlayerTextDrawFont(playerid, URL[playerid][i], 0);
PlayerTextDrawSetProportional(playerid, URL[playerid][i], 1);
PlayerTextDrawSetShadow(playerid, URL[playerid][i], 0);
}
return 1;
}
sname = Значение которое меняется в *.ini файле, видимо для глупых
Хотел поставить стандартный, свой немного подстроеный
Код:
Logotype1 = TextDrawCreate(524.000122, 3.982216, "Text Roleplay");
TextDrawLetterSize(Logotype1, 0.352000, 1.919466);
TextDrawAlignment(Logotype1, 1);
TextDrawColor(Logotype1,0xE5C03FF);
TextDrawSetShadow(Logotype1, 0);
TextDrawSetOutline(Logotype1, 1);
TextDrawBackgroundColor(Logotype1, 255);
TextDrawFont(Logotype1, 3);
TextDrawSetProportional(Logotype1, 1);
Logotype2 = TextDrawCreate(541.333557, 11.946666, " MyTextString2");
TextDrawLetterSize(Logotype2, 0.323889, 1.435777);
TextDrawAlignment(Logotype2, 1);
TextDrawColor(Logotype2, -1);
TextDrawSetShadow(Logotype2, 0);
TextDrawSetOutline(Logotype2, 1);
TextDrawBackgroundColor(Logotype2, 255);
TextDrawFont(Logotype2, 0);
TextDrawSetProportional(Logotype2, 1);
Так вот вопрос возник, как убрать стандартный TextDraw и поставить свой?
Тапками не кидайтесь, я зеленый и пока разбираюсь что и как.
Надеюсь на вашу помощь :)