Skip to content

Commit

Permalink
feat(client): new textlabel methods (#291)
Browse files Browse the repository at this point in the history
* feat(client): new textlable methods

* fix(client): lint

* fix(client): code style
  • Loading branch information
FlorianV85 authored Dec 6, 2023
1 parent 2264fa0 commit 08f13d5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 08f13d5

Please sign in to comment.