SelectTextDraw color problem -
sampkinq - 20.07.2016
Hello, it's the same textdraw when choosing the colors of the writings, what is the problem. I'm sorry for my bad English.

Re: SelectTextDraw color problem - WhiteGhost - 20.07.2016
What?..
Do u want to change the color?
If so use: ~r~ / ~p~ / ~b~ / ~g~ / ~y~
Re: SelectTextDraw color problem -
sampkinq - 20.07.2016
Quote:
Originally Posted by WhiteGhost
What?..
Do u want to change the color?
If so use: ~r~ / ~p~ / ~b~ / ~g~ / ~y~
|
No, SelectTextDraw(playerid, 0xFF3B3BFF); all textdraw appears.
Here is the process I tried but it didn't work:
https://www.youtube.com/watch?v=bVaPoQoXZck
Re: SelectTextDraw color problem -
SickAttack - 20.07.2016
Change the text size to an appropriate value for each clickable item.
https://sampwiki.blast.hk/wiki/TextDrawTextSize
Re: SelectTextDraw color problem -
sampkinq - 20.07.2016
Quote:
Originally Posted by SickAttack
|
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);
Re: SelectTextDraw color problem -
SickAttack - 20.07.2016
Quote:
Originally Posted by sampkinq
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);
|
Not for that TextDraw, but there's an example on the wiki.
pawn Код:
new Text:MyTextdraw;
public OnGameModeInit()
{
MyTextDraw = TextDrawCreate(100.0, 33.0,"Example TextDraw");
TextDrawTextSize(MyTextDraw, 2.0, 3.6);
return 1;
}
You will have to play around with the values a bit, until they are how you want them.
Re: SelectTextDraw color problem -
sampkinq - 20.07.2016
Quote:
Originally Posted by SickAttack
Not for that TextDraw, but there's an example on the wiki.
pawn Код:
new Text:MyTextdraw; public OnGameModeInit() { MyTextDraw = TextDrawCreate(100.0, 33.0,"Example TextDraw"); TextDrawTextSize(MyTextDraw, 2.0, 3.6); return 1; }
You will have to play around with the values a bit, until they are how you want them.
|
The click operation is not performed
Re: SelectTextDraw color problem - WhiteGhost - 20.07.2016
Try:
PHP код:
TextDrawLetterSize(MeslekEkraniBaba[4], 1.338666,0.295000,);
Re: SelectTextDraw color problem -
sampkinq - 20.07.2016
Quote:
Originally Posted by WhiteGhost
Try:
PHP код:
TextDrawLetterSize(MeslekEkraniBaba[4], 1.338666,0.295000,);
|
The problem continues.
Re: SelectTextDraw color problem -
SickAttack - 20.07.2016
Quote:
Originally Posted by WhiteGhost
Try:
PHP код:
TextDrawLetterSize(MeslekEkraniBaba[4], 1.338666,0.295000,);
|
Please stop posting "guesses".
TextDrawTextSize:
Change the size of a textdraw (box if TextDrawUseBox is enabled and/or
clickable area for use with TextDrawSetSelectable).
The TextDraw box starts 10.0 units up and 5.0 to the left as the origin (TextDrawCreate coordinate).
Please read the wiki:
https://sampwiki.blast.hk/wiki/TextDrawTextSize