@citizenfx/client 2.0.7538-1 → 2.0.7549-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.
@@ -14471,24 +14471,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
14471
14471
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
14472
14472
 
14473
14473
  /**
14474
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14474
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14475
14475
  * @param ped The target ped
14476
14476
  * @return Returns ped's eye colour, or -1 if fails to get.
14477
14477
  */
14478
14478
  declare function GetPedEyeColor(ped: number): number;
14479
+
14479
14480
  /**
14480
14481
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14481
14482
  * @param ped The target ped
14482
14483
  * @return Returns ped's eye colour, or -1 if fails to get.
14483
14484
  */
14484
- declare function N_0x76bba2cee66d47e9(ped: number): number;
14485
-
14485
+ declare function GetPedEyeColor(ped: number): number;
14486
14486
  /**
14487
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14487
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14488
14488
  * @param ped The target ped
14489
14489
  * @return Returns ped's eye colour, or -1 if fails to get.
14490
14490
  */
14491
- declare function GetPedEyeColor(ped: number): number;
14491
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
14492
14492
 
14493
14493
  /**
14494
14494
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -25298,11 +25298,6 @@ declare function N_0x28b022a17b068a3a(p0: number, p1: number): void;
25298
25298
  */
25299
25299
  declare function N_0x28ecb8ac2f607db2(p0: number, p1: number, p2: number, p3: number, p4: number): void;
25300
25300
 
25301
- /**
25302
- * 0x2916A928514C9827
25303
- */
25304
- declare function N_0x2916a928514c9827(): void;
25305
-
25306
25301
  /**
25307
25302
  * 0x293220DA1B46CEBC
25308
25303
  */
@@ -30807,13 +30802,26 @@ declare function NetworkAllocateTunablesRegistrationDataMap(): boolean;
30807
30802
  declare function N_0xfafc23aee23868db(): boolean;
30808
30803
 
30809
30804
  /**
30810
- * _NETWORK_ALLOW_LOCAL_ENTITY_ATTACHMENT
30805
+ * Allows scripts to use attachment commands on entities (eg. [`ATTACH_ENTITY_TO_ENTITY`](#\_0x6B9BBD38AB0796DF)) that are not controlled by the client.
30806
+ * **Note:** This is only local and does not affect entities on other machines. This is used by the ferris wheel script to sync players on carts.
30807
+ * @param entity Entity handle to allow remote attachment for.
30808
+ * @param toggle true/false.
30811
30809
  */
30812
- declare function NetworkAllowLocalEntityAttachment(entity: number, toggle: boolean): void;
30810
+ declare function NetworkAllowRemoteAttachmentModification(entity: number, toggle: boolean): void;
30813
30811
  /**
30814
- * _NETWORK_ALLOW_LOCAL_ENTITY_ATTACHMENT
30812
+ * Allows scripts to use attachment commands on entities (eg. [`ATTACH_ENTITY_TO_ENTITY`](#\_0x6B9BBD38AB0796DF)) that are not controlled by the client.
30813
+ * **Note:** This is only local and does not affect entities on other machines. This is used by the ferris wheel script to sync players on carts.
30814
+ * @param entity Entity handle to allow remote attachment for.
30815
+ * @param toggle true/false.
30815
30816
  */
30816
30817
  declare function N_0x267c78c60e806b9a(entity: number, toggle: boolean): void;
30818
+ /**
30819
+ * Allows scripts to use attachment commands on entities (eg. [`ATTACH_ENTITY_TO_ENTITY`](#\_0x6B9BBD38AB0796DF)) that are not controlled by the client.
30820
+ * **Note:** This is only local and does not affect entities on other machines. This is used by the ferris wheel script to sync players on carts.
30821
+ * @param entity Entity handle to allow remote attachment for.
30822
+ * @param toggle true/false.
30823
+ */
30824
+ declare function NetworkAllowLocalEntityAttachment(entity: number, toggle: boolean): void;
30817
30825
 
30818
30826
  /**
30819
30827
  * NETWORK_AM_I_BLOCKED_BY_GAMER
@@ -38903,6 +38911,11 @@ declare function ReleaseSoundId(soundId: number): void;
38903
38911
  */
38904
38912
  declare function ReleaseWeaponAudio(): void;
38905
38913
 
38914
+ /**
38915
+ * Forces the map menu to reload.
38916
+ */
38917
+ declare function ReloadMapMenu(): void;
38918
+
38906
38919
  /**
38907
38920
  * NativeDB Added Parameter 1: Player player
38908
38921
  * NativeDB Added Parameter 2: int a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7538-1",
3
+ "version": "2.0.7549-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {