DISPLAY TEXT WITH FLOAT

From GTAMods Wiki
Jump to navigation Jump to search
DISPLAY_TEXT_WITH_FLOAT
Number of parameters: 5
Parameter #TypeDescription
1.floatx pos
2.floaty pos
3.stringUnknown, always "NUMBER"
4.floatnumber to print/draw
5.intamount of decimal places to show
Return value:
TypeDescription
None

Draws a float number on the screen.

Notes: parameter 1 and 2 must be numbers between 0.0 and 1.0 where 1.0 representes the screen width/height (e.g: To draw the text on the middle of the screen you should use parameter_1 = 0.5, parameter_2 = 0.5).