@citizenfx/client 2.0.14583-1 → 2.0.14758-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.
@@ -5972,6 +5972,12 @@ declare function DeletePed(ped: number): void;
5972
5972
  */
5973
5973
  declare function DeleteResourceKvp(key: string): void;
5974
5974
 
5975
+ /**
5976
+ * Nonsynchronous [DELETE_RESOURCE_KVP](#\_0x7389B5DF) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).
5977
+ * @param key The key to delete
5978
+ */
5979
+ declare function DeleteResourceKvpNoSync(key: string): void;
5980
+
5975
5981
  /**
5976
5982
  * Deletes the rope with the specified handle.
5977
5983
  * You should check if the rope exists before trying to delete it, see [DOES_ROPE_EXIST](#\_0xFD5448BE3111ED96).
@@ -15579,24 +15585,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
15579
15585
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
15580
15586
 
15581
15587
  /**
15582
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15588
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15583
15589
  * @param ped The target ped
15584
15590
  * @return Returns ped's eye colour, or -1 if fails to get.
15585
15591
  */
15586
15592
  declare function GetPedEyeColor(ped: number): number;
15587
-
15588
15593
  /**
15589
15594
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15590
15595
  * @param ped The target ped
15591
15596
  * @return Returns ped's eye colour, or -1 if fails to get.
15592
15597
  */
15593
- declare function GetPedEyeColor(ped: number): number;
15598
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
15599
+
15594
15600
  /**
15595
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15601
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15596
15602
  * @param ped The target ped
15597
15603
  * @return Returns ped's eye colour, or -1 if fails to get.
15598
15604
  */
15599
- declare function N_0x76bba2cee66d47e9(ped: number): number;
15605
+ declare function GetPedEyeColor(ped: number): number;
15600
15606
 
15601
15607
  /**
15602
15608
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -20175,6 +20181,13 @@ declare function GetBlipInfoIdIterator(): number;
20175
20181
  */
20176
20182
  declare function GetWaypointDistanceAlongRoute(p0: string, p1: number): number;
20177
20183
 
20184
+ /**
20185
+ * A getter for the accuracy spread of a weapon.
20186
+ * @param weaponHash Weapon name hash.
20187
+ * @return The accuracy spread of a weapon.
20188
+ */
20189
+ declare function GetWeaponAccuracySpread(weaponHash: string | number): number;
20190
+
20178
20191
  /**
20179
20192
  * A getter for [SET_WEAPON_ANIMATION_OVERRIDE](#\_0x1055AC3A667F09D9).
20180
20193
  * @param ped The target ped.
@@ -53648,6 +53661,13 @@ declare function SetResourceKvp(key: string, value: string): void;
53648
53661
  */
53649
53662
  declare function SetResourceKvpFloat(key: string, value: number): void;
53650
53663
 
53664
+ /**
53665
+ * Nonsynchronous [SET_RESOURCE_KVP_FLOAT](#\_0x9ADD2938) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).
53666
+ * @param key The key to set
53667
+ * @param value The value to write
53668
+ */
53669
+ declare function SetResourceKvpFloatNoSync(key: string, value: number): void;
53670
+
53651
53671
  /**
53652
53672
  * A setter for [GET_RESOURCE_KVP_INT](#\_0x557B586A).
53653
53673
  * @param key The key to set
@@ -53655,6 +53675,20 @@ declare function SetResourceKvpFloat(key: string, value: number): void;
53655
53675
  */
53656
53676
  declare function SetResourceKvpInt(key: string, value: number): void;
53657
53677
 
53678
+ /**
53679
+ * Nonsynchronous [SET_RESOURCE_KVP_INT](#\_0x6A2B1E8) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).
53680
+ * @param key The key to set
53681
+ * @param value The value to write
53682
+ */
53683
+ declare function SetResourceKvpIntNoSync(key: string, value: number): void;
53684
+
53685
+ /**
53686
+ * Nonsynchronous [SET_RESOURCE_KVP](#\_0x21C7A35B) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).
53687
+ * @param key The key to set
53688
+ * @param value The value to write
53689
+ */
53690
+ declare function SetResourceKvpNoSync(key: string, value: string): void;
53691
+
53658
53692
  /**
53659
53693
  * _SET_RESTART_CUSTOM_POSITION
53660
53694
  */
@@ -57887,6 +57921,13 @@ declare function SetWaveQuadDirection(waveQuad: number, directionX: number, dire
57887
57921
  */
57888
57922
  declare function SetWaypointOff(): void;
57889
57923
 
57924
+ /**
57925
+ * A setter for the accuracy spread of a weapon.
57926
+ * @param weaponHash Weapon name hash.
57927
+ * @param spread Accuracy spread
57928
+ */
57929
+ declare function SetWeaponAccuracySpread(weaponHash: string | number, spread: number): void;
57930
+
57890
57931
  /**
57891
57932
  * Changes the selected ped aiming animation style, you can find the list of animations below.
57892
57933
  * These are stored in the `weaponanimations.meta` file located in `Grand Theft Auto V\update\update.rpf\common\data\ai\weaponanimations.meta`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.14583-1",
3
+ "version": "2.0.14758-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {