DrawText: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Draws a text on the player screen.}}


{{FuncSyntax|DrawText(x, y, text)}}
{{FuncSyntax|DrawText(x, y, text)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|x|The X axis on the screen.}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|The Y axis on the screen.}}
{{FuncParam|text|__EDIT_ME__}}
{{FuncParam|text|The text you want to draw on the client screen.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}
Line 16: Line 16:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[DrawText]]
* [[SetDrawColor]]
* [[SetTextDrawScale]]
* [[GetTextSize]]
* [[DrawLine]]
* [[DrawLine3D]]
* [[DrawPoint3D]]
* [[DrawCircle3D]]
* [[DrawBox]]
* [[DrawRect]]
* [[DrawTexture]]

Revision as of 14:13, 16 November 2019

DrawText

Type: Function
Context: Client
Introduced: v1.0

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__

See also