diff --git a/client/package.json b/client/package.json index 4363d4db..b6f538ae 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@altv/types-client", - "version": "16.0.14", + "version": "16.0.15", "description": "This package contains types definitions for alt:V client-side module.", "types": "index.d.ts", "files": [ diff --git a/server/index.d.ts b/server/index.d.ts index 7111ff6c..d428e325 100644 --- a/server/index.d.ts +++ b/server/index.d.ts @@ -2822,8 +2822,17 @@ declare module "alt-server" { public readonly maxDistance: number; public readonly isSpatial: boolean; + /** + * Priority of voice channel. + * If a player is in two channels and both can be heard by another player, only one should play the voice. + * Value is of type integer, can be negative. + */ public priority: number; + /** + * Hash of the filter name (should also be created on clientside). + * See docs: [Audio filters](https://docs.altv.mp/articles/audio_filters.html), [Voice](https://docs.altv.mp/articles/voice.html). + */ public filter: number; public addPlayer(player: Player): void;