DISPLAY TEXT WITH FLOAT

From GTAMods Wiki
Revision as of 23:22, 6 January 2015 by Cpp (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).