DrawText: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Draws a text on the player screen.}} | ||
{{FuncSyntax|DrawText(x, y, text)}} | {{FuncSyntax|DrawText(x, y, text)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|x| | {{FuncParam|x|The X axis on the screen.}} | ||
{{FuncParam|y| | {{FuncParam|y|The Y axis on the screen.}} | ||
{{FuncParam|text| | {{FuncParam|text|The text you want to draw on the client screen.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
Line 16: | Line 16: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[DrawText]] | |||
* [[SetDrawColor]] | |||
* [[SetTextDrawScale]] | |||
* [[GetTextSize]] | |||
* [[DrawLine]] | |||
* [[DrawLine3D]] | |||
* [[DrawPoint3D]] | |||
* [[DrawCircle3D]] | |||
* [[DrawBox]] | |||
* [[DrawRect]] | |||
* [[DrawTexture]] |
Revision as of 14:13, 16 November 2019
Description
Draws a text on the player screen.
Syntax
DrawText(x, y, text)
Parameters
- x
The X axis on the screen. - y
The Y axis on the screen. - text
The text you want to draw on the client screen.
Return Value
- __EDIT_ME__
Example
__EDIT_ME__