Skip to content

Commit

Permalink
feat(client): add gamepool methods & add audio channel to addVolumeEf…
Browse files Browse the repository at this point in the history
…fect
  • Loading branch information
C0kkie committed Nov 26, 2023
1 parent 195c660 commit 2264fa0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2940,6 +2940,12 @@ declare module "alt-client" {

export function isFullScreen(): boolean;

export function getPoolSize(poolName: string): number;

export function getPoolCount(poolName: string): number;

export function getPoolEntities(poolName: string): number[];

export class WebSocketClient extends BaseObject {
/**
* Retrieves the websocketclient from the pool.
Expand Down Expand Up @@ -3921,7 +3927,7 @@ declare module "alt-client" {
constructor(filtername: string);

public addRotateEffect(fRate: number, priority: number): number;
public addVolumeEffect(fVolume: number, priority: number): number;
public addVolumeEffect(fVolume: number, priority: number, channel?: number): number;
public addPeakeqEffect(lBand: number, fBandwidth: number, fQ: number, fCenter: number, fGain: number, priority: number): number;
public addDampEffect(fTarget: number, fQuiet: number, fRate: number, fGain: number, fDelay: number, priority: number): number;
public addAutowahEffect(fDryMix: number, fWetMix: number, fFeedback: number, fRate: number, fRange: number, fFreq: number, priority: number): number;
Expand Down

0 comments on commit 2264fa0

Please sign in to comment.