VimpDrawTextOptions
@vimp-mp/types 2.0.1Interface · Client API
Optional GTA text-rendering state applied by vimp.graphics.drawText.
ts
interface VimpDrawTextOptionsMembers
centre
ts
centre?: booleanWhether x is the horizontal text centre. Defaults to false.
color
ts
color?: [number, number, number, number]RGBA text colour with byte-sized channels. Defaults to opaque white.
font
ts
font?: numberGTA text-font identifier. Defaults to 0.
outline
ts
outline?: booleanWhether GTA draws a text outline. Defaults to false.
scale
ts
scale?: [number, number]Horizontal and vertical text scale. Defaults to [0.35, 0.35].