@altv/types-client
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -668,2 +668,7 @@ declare module "alt-client" { | ||
* Is the player currently aiming. | ||
* | ||
* @remarks | ||
* Returns ``true`` _ONLY_ if: | ||
* - you are in first person with a gun equipped and you are not sprinting | ||
* - you are in third person and aiming/shooting | ||
*/ | ||
@@ -752,2 +757,16 @@ public readonly isAiming: boolean; | ||
public static getByScriptID(scriptID: number): Player | null; | ||
/** | ||
* Set & get the volume for 3D Voice. | ||
* | ||
* @remarks Value needs to be between 0-1. | ||
*/ | ||
public spatialVolume: number | ||
/** | ||
* Set & get the volume for 2D Voice. | ||
* | ||
* @remarks Value needs to be between 0-1. | ||
*/ | ||
public nonSpatialVolume: number | ||
} | ||
@@ -754,0 +773,0 @@ |
{ | ||
"name": "@altv/types-client", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "This package contains types definitions for alt:V client-side module.", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54238
1739