FANDOM



dr_text2d(<sName>, <fX>, <fY>, <sText>, <iColourR>, <iColourG>, <iColourB>)
Description
Draws 2D text on the screen. Used in timer script.
Example
dr_text2d("timer", 0.0, 0.98, str, 255, 255, 255)
Arguments
<sName>: Name of the drawing surface (could be wrong).
<fX>: X position (ratio of full width) from left.
<fY>: Y position (ratio of full heigth) from bottom.
<sText>: String to display. Variable reference, or, presumably, quoted text.
<iColourR>: RGB value for red.
<iColourG>: RGB value for green.
<iColourB>: RGB value for blue.
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.