@citizenfx/client 2.0.5016-1 → 2.0.5036-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.
@@ -27100,6 +27100,14 @@ declare function SetAiMeleeWeaponDamageModifier(modifier: number): void;
27100
27100
 
27101
27101
  declare function SetAiWeaponDamageModifier(value: number): void;
27102
27102
 
27103
+ /**
27104
+ * Adds a cooldown between instances of moving and then aiming.
27105
+ * Can be optionally used to hinder 'speedboosting'
27106
+ * To turn off, set value to 0
27107
+ * @param value Number of milliseconds between allowed aiming
27108
+ */
27109
+ declare function SetAimCooldown(value: number): void;
27110
+
27103
27111
  /**
27104
27112
  * This can be between 1.0f - 14.9f
27105
27113
  * You can change the max in IDA from 15.0. I say 15.0 as the function blrs if what you input is greater than or equal to 15.0 hence why it's 14.9 max default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.5016-1",
3
+ "version": "2.0.5036-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {