[Tutorial] Textdraw sйlectionnable.
#5

Rajoutons a ce super tuto le post de dutheil https://sampforum.blast.hk/showthread.ph...pid3257984

Dutheil;3257984 Wrote:Tiens, tu devrais comprendre :

[Image: 813371qsdsqdqsd.jpg]

Code:
new textdraw;

textdraw = TextDrawCreate([B][COLOR="Red"]100.0[/COLOR][/B], [B][COLOR="DarkRed"]115.0[/COLOR][/B], "Textdraw");
TextDrawTextSize(textdraw, [B][COLOR="DarkOrange"]210.0[/COLOR][/B], [B][COLOR="SeaGreen"]15.0[/COLOR][/B]);

Donc ta zone de sйlection se dйfinie comme зa, j'ai mis 2 semaines pour comprendre en touchant а tout :'))))

Dans le cas oщ tu verrais que ta selection est trop а droite tu diminues la valeur de [COLOR="Red"]x[/COLOR] а [COLOR="RoyalBlue"]TextDrawTextSize[/COLOR]
Code:
[B][COLOR="RoyalBlue"]TextDrawTextSize[/COLOR][/B](textdraw, [B][COLOR="Red"]x[/COLOR][/B], y);

Dans le cas oщ tu verrais que ta sйlection est trop basse, tu diminues la valeur de [COLOR="Red"]y[/COLOR] а [COLOR="RoyalBlue"]TextDrawTextSize[/COLOR]
Code:
[B][COLOR="RoyalBlue"]TextDrawTextSize[/COLOR][/B](textdraw, x, [B][COLOR="Red"]y[/COLOR][/B]);
Reply


Messages In This Thread
Textdraw sйlectionnable. - by Scol-Ben - 19.09.2015, 11:53
Re : Textdraw sйlectionnable. - by StreetRP - 19.09.2015, 12:00
Re : Textdraw sйlectionnable. - by Sus-Pets - 19.09.2015, 12:01
Re : Textdraw sйlectionnable. - by Scol-Ben - 19.09.2015, 12:02
Re: Textdraw sйlectionnable. - by Jabern - 19.09.2015, 12:10
Re : Textdraw sйlectionnable. - by Scol-Ben - 19.09.2015, 12:16
Re : Textdraw sйlectionnable. - by Chipardeur - 19.09.2015, 12:23
Re : Textdraw sйlectionnable. - by Scol-Ben - 19.09.2015, 13:02

Forum Jump:


Users browsing this thread: 2 Guest(s)