Skip to content

Commit

Permalink
Added note on .setAlpha about ObjectMp usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Kopraa committed Aug 20, 2023
1 parent da0781e commit 8d1cd18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,10 @@ declare class EntityMp {
playSynchronizedAnim(syncedScene: number, animation: string, propName: string, p3: number, p4: number, p5: any, p6: number): boolean;
processAttachments(): void;
resetAlpha(): void;
/**
* - If you are applying alpha to an ObjectMp, use mp.game.entity.setAlpha
* @param alphaLevel
*/
setAlpha(alphaLevel: number): void;
setAlwaysPrerender(toggle: boolean): void;
setAnimCurrentTime(animDict: string, animName: string, time: number): void;
Expand Down

0 comments on commit 8d1cd18

Please sign in to comment.