GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Izidor le 26 Septembre 2010, 22:56:32
-
Bonjour,
J'aimerai que mon texte, sois petit et en bas à droite sa fait 2 jours que je modifie les distance pour comprendre X serre à quoi mais je ne trouve pas :s
new Text:text = TextDrawCreate(1401.000000, 417.000000,Text_Minimap);
TextDrawBackgroundColor(text, 255);
TextDrawFont(text, 1);
TextDrawLetterSize(text, 0.500000, 1.000000);
TextDrawColor(text, -1);
TextDrawSetOutline(text, 0);
TextDrawSetProportional(text, 1);
TextDrawSetShadow(text, 1);
TextDrawUseBox(text, 1);
TextDrawBoxColor(text, -206);
TextDrawTextSize(text, 552.000000, 70.000000);
-
X = 1401.000000 et Y = 417.000000
Ici y a un problème ^^
1401 c'est trop, au maximum tu peut mettre 800 en X et 600 en Y, ensuite X c'est la position horizontal, et Y c'est la position Vertical ^^
-
Merci pour les explication, il y a pas un truc pour la taille ?
-
TextDrawTextSize(text, 552.000000, 70.000000);
Tu l'a dans ton code ^^