From 08f13d5376404aef1573a8e48cc2756cc8f941d2 Mon Sep 17 00:00:00 2001 From: Florian V Date: Wed, 6 Dec 2023 11:58:38 +0100 Subject: [PATCH] feat(client): new textlabel methods (#291) * feat(client): new textlable methods * fix(client): lint * fix(client): code style --- client/index.d.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/client/index.d.ts b/client/index.d.ts index c9f38c9f..8e15436b 100644 --- a/client/index.d.ts +++ b/client/index.d.ts @@ -106,6 +106,13 @@ declare module "alt-client" { Rigth, } + export const enum TextLabelAlignment { + Left, + Right, + Center, + Justify, + } + export interface IClientEvent { anyResourceError: (resourceName: string) => void; anyResourceStart: (resourceName: string) => void; @@ -4103,8 +4110,20 @@ declare module "alt-client" { public color: shared.RGBA; + public outlineColor: shared.RGBA; + + public outlineWidth: number; + + public font: string; + + public fontSize: number; + public scale: number; + public align: TextLabelAlignment; + + public text: string; + public rot: shared.Vector3; public readonly isGlobal: boolean;