Skip to main content

client.draw_debug_text

Draws a DebugOverlay text at the specified 3d position. Avoid calling this during the paint event.

client.draw_debug_text(x: number, y: number, z: number, line_offset: number, duration: number, r: number, g: number, b: number, a: number, ...)

Arguments

NameDescriptionType
xX coordinatenumber
yY coordinatenumber
zZ coordinatenumber
line_offsetUsed for vertical alignment, use 0 for the first line.number
durationTime in seconds that the text will remain on the screen.number
rRed color component (0 to 255)number
gGreen color component (0 to 255)number
bBlue color component (0 to 255)number
aAlpha (opacity) component (0 to 255)number
textThe text that will be drawnunknown