@citizenfx/server 2.0.29391-1 → 2.0.29586-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,6 +198,7 @@ declare function AddStateBagChangeHandler(keyFilter: string, bagFilter: string,
198
198
  declare function ApplyForceToEntity(entity: number, forceType: number, x: number, y: number, z: number, offX: number, offY: number, offZ: number, nComponent: number, bLocalForce: boolean, bLocalOffset: boolean, bScaleByMass: boolean, bPlayAudio: boolean, bScaleByTimeWarp: boolean): void;
199
199
 
200
200
  /**
201
+ * > This native is deprecated and may be removed in a future version. Use the [Tebex API](https://docs.tebex.io/) instead.
201
202
  * Returns whether or not the specified player has enough information to start a commerce session for.
202
203
  * @param playerSrc The player handle
203
204
  * @return True or false.
@@ -369,6 +370,7 @@ declare function DoesEntityExist(entity: number): boolean;
369
370
  declare function DoesPlayerExist(playerSrc: string): boolean;
370
371
 
371
372
  /**
373
+ * > This native is deprecated and may be removed in a future version. Use [`DOES_PLAYER_OWN_SKU_EXT`](#\_0xDEF0480B) instead.
372
374
  * Requests whether or not the player owns the specified SKU.
373
375
  * @param playerSrc The player handle
374
376
  * @param skuId The ID of the SKU.
@@ -1944,6 +1946,7 @@ declare function IsPedUsingActionMode(ped: number): boolean;
1944
1946
  declare function IsPlayerAceAllowed(playerSrc: string, object: string): boolean;
1945
1947
 
1946
1948
  /**
1949
+ * > This native is deprecated and may be removed in a future version. Use [`IS_PLAYER_COMMERCE_INFO_LOADED_EXT`](#\_0x1D14F4FE) instead.
1947
1950
  * Requests whether or not the commerce data for the specified player has loaded.
1948
1951
  * @param playerSrc The player handle
1949
1952
  * @return A boolean.
@@ -2020,6 +2023,7 @@ declare function IsVehicleTyreBurst(vehicle: number, wheelID: number, completely
2020
2023
  declare function IsVehicleWindowIntact(vehicle: number, windowIndex: number): boolean;
2021
2024
 
2022
2025
  /**
2026
+ * > This native is deprecated and may be removed in a future version. Use [`LOAD_PLAYER_COMMERCE_DATA_EXT`](#\_0x7995539E) instead.
2023
2027
  * Requests the commerce data for the specified player, including the owned SKUs. Use `IS_PLAYER_COMMERCE_INFO_LOADED` to check if it has loaded.
2024
2028
  * @param playerSrc The player handle
2025
2029
  */
@@ -2223,6 +2227,7 @@ declare function RemoveWeaponComponentFromPed(ped: number, weaponHash: string |
2223
2227
  declare function RemoveWeaponFromPed(ped: number, weaponHash: string | number): void;
2224
2228
 
2225
2229
  /**
2230
+ * > This native is deprecated and may be removed in a future version. Use the [Tebex API](https://docs.tebex.io/) instead.
2226
2231
  * Requests the specified player to buy the passed SKU. This'll pop up a prompt on the client, which upon acceptance
2227
2232
  * will open the browser prompting further purchase details.
2228
2233
  * @param playerSrc The player handle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/server",
3
- "version": "2.0.29391-1",
3
+ "version": "2.0.29586-1",
4
4
  "description": "Typings for the CitizenFX server JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {