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

@ragempcommunity/types-server

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ragempcommunity/types-server - npm Package Compare versions

Comparing version 2.1.6 to 2.1.8

39

index.d.ts

@@ -335,16 +335,16 @@ /// <reference path="enums.d.ts" />

/**
* Gets the closest set of entities to a position in the defined dimension.
*
* @param position Vector3
* @param dimension The Dimension
* @param limit Limit of results
* @returns Array of entities sorted by distance to given position
*
* @example
* ```
* const [closestVehicle] = mp.vehicles.getClosestInDimension(player.position, player.dimension, 1);
* closestVehicle.locked = true;
* ```
*/
/**
* Gets the closest set of entities to a position in the defined dimension.
*
* @param position Vector3
* @param dimension The Dimension
* @param limit Limit of results
* @returns Array of entities sorted by distance to given position
*
* @example
* ```
* const [closestVehicle] = mp.vehicles.getClosestInDimension(player.position, player.dimension, 1);
* closestVehicle.locked = true;
* ```
*/
public getClosestInDimension(position: Vector3, dimension: number, limit: number): T[];

@@ -582,3 +582,3 @@

*/
public cancelPendingRpc(procName?: string): void;
public cancelPendingProc(procName?: string): void;

@@ -683,3 +683,3 @@ /**

*/
public hasPendingRpc(procName?: string): boolean;
public hasPendingProc(procName?: string): boolean;

@@ -1315,3 +1315,3 @@ /**

/*
* @deprecated Broken/Removed in RageMP 1.1 DP1
* @deprecated Broken/Removed in RageMP 1.1 DP1
*/

@@ -1446,2 +1446,7 @@ entityDestroyed: (entity: EntityMp) => void;

/**
* Returns a list of binded events.
*/
readonly binded: { [key: string]: Function }[]
/**
* Resets the whole event manager.

@@ -1448,0 +1453,0 @@ */

{
"name": "@ragempcommunity/types-server",
"version": "2.1.6",
"version": "2.1.8",
"description": "Types definitions for RAGE:MP server-side module",

@@ -16,3 +16,3 @@ "main": "index.d.ts",

},
"gitHead": "8fc6659df9439ef6a5e10e7682afb0dba248f86e"
"gitHead": "f396129dd04f155019c4154c718b2c5a01d2d77f"
}
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