Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@altv/types-client

Package Overview
Dependencies
Maintainers
1
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altv/types-client - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

19

index.d.ts

@@ -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 @@

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc