Closed Mauricio-Arantes closed 4 years ago
Hello! First at all, you make a amazing job create this!!
I see in the file where you declare the interfaces you not declare the GXT functions. i made a newbie "solution" but maybe can help with something
`interface GameMp { ... zone: GameZoneMp; gxt: GxtTypes;
invoke(hash: string, ...args: any[]): any; joaat(text: string): Hash; joaat(textArray: string[]): Hash[]; wait(ms: number): void;
}`
interface GxtTypes { set(labelNameOrHash:number | string, newLabelValue: string ): any; get(labelNameOrHash:number | string): any; getDefault(labelNameOrHash:number | string): any; reset(): any; }
Check v1.0 branch
Hello! First at all, you make a amazing job create this!!
I see in the file where you declare the interfaces you not declare the GXT functions. i made a newbie "solution" but maybe can help with something
`interface GameMp { ... zone: GameZoneMp; gxt: GxtTypes;
}`
interface GxtTypes { set(labelNameOrHash:number | string, newLabelValue: string ): any; get(labelNameOrHash:number | string): any; getDefault(labelNameOrHash:number | string): any; reset(): any; }