TextDrawLetterSize

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:31, 7 March 2011
Joe Staff (Talk | contribs)

← Previous diff
Revision as of 19:32, 7 March 2011
Joe Staff (Talk | contribs)

Next diff →
Line 16: Line 16:
</pawn> </pawn>
-{{note|When using this function purely for the benefit of affecting the TextDraw box, multiply 'Y' by 0.135 is the same as modifying TextDrawTextSize by 1}}+{{note|When using this function purely for the benefit of affecting the TextDraw box, multiplying 'Y' by 0.135 is the same as modifying TextDrawTextSize by 1}}
{{RelatedFunctions}} {{RelatedFunctions}}

Revision as of 19:32, 7 March 2011




Description:

Sets the width and height of the letters.


Parameters:
(Text:text, Float:x, Float:y)
textThe TextDraw to change
xWidth of a char.
yHeight of a char.


Return Values:

This function does not return any specific values.


MyTextDraw = TextDrawCreate(100.0, 33.0,"Example TextDraw");
TextDrawLetterSize(MyTextDraw, 3.2 ,5.1);
Image:32px-Ambox_warning_orange.png

Note

When using this function purely for the benefit of affecting the TextDraw box, multiplying 'Y' by 0.135 is the same as modifying TextDrawTextSize by 1


Related Functions

The following functions may be helpful as they relate to this function in one way or another.


Personal tools