20.07.2016, 20:19
Hello, it's the same textdraw when choosing the colors of the writings, what is the problem. I'm sorry for my bad English.
What?..
Do u want to change the color? If so use: ~r~ / ~p~ / ~b~ / ~g~ / ~y~ |
Change the text size to an appropriate value for each clickable item.
https://sampwiki.blast.hk/wiki/TextDrawTextSize |
MeslekEkraniBaba[4] = TextDrawCreate(325.500000, 169.444458, "Dolandirici"); TextDrawLetterSize(MeslekEkraniBaba[4], 0.295000, 1.338666); TextDrawAlignment(MeslekEkraniBaba[4], 2); TextDrawColor(MeslekEkraniBaba[4], -1); TextDrawBoxColor(MeslekEkraniBaba[4], 255); TextDrawSetShadow(MeslekEkraniBaba[4], 0); TextDrawSetOutline(MeslekEkraniBaba[4], 1); TextDrawBackgroundColor(MeslekEkraniBaba[4], 255); TextDrawFont(MeslekEkraniBaba[4], 1); TextDrawSetProportional(MeslekEkraniBaba[4], 1); TextDrawSetShadow(MeslekEkraniBaba[4], 0);
Can you give the sample size for this textdraw ?
Код:
MeslekEkraniBaba[4] = TextDrawCreate(325.500000, 169.444458, "Dolandirici"); TextDrawLetterSize(MeslekEkraniBaba[4], 0.295000, 1.338666); TextDrawAlignment(MeslekEkraniBaba[4], 2); TextDrawColor(MeslekEkraniBaba[4], -1); TextDrawBoxColor(MeslekEkraniBaba[4], 255); TextDrawSetShadow(MeslekEkraniBaba[4], 0); TextDrawSetOutline(MeslekEkraniBaba[4], 1); TextDrawBackgroundColor(MeslekEkraniBaba[4], 255); TextDrawFont(MeslekEkraniBaba[4], 1); TextDrawSetProportional(MeslekEkraniBaba[4], 1); TextDrawSetShadow(MeslekEkraniBaba[4], 0); |
new Text:MyTextdraw;
public OnGameModeInit()
{
MyTextDraw = TextDrawCreate(100.0, 33.0,"Example TextDraw");
TextDrawTextSize(MyTextDraw, 2.0, 3.6);
return 1;
}
Not for that TextDraw, but there's an example on the wiki.
pawn Код:
|
TextDrawLetterSize(MeslekEkraniBaba[4], 1.338666,0.295000,);
Try:
PHP код:
|