@citizenfx/client 2.0.16237-1 → 2.0.16276-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.
@@ -25875,6 +25875,13 @@ declare function IsVehicleWeaponDisabled(weaponHash: string | number, vehicle: n
25875
25875
  */
25876
25876
  declare function N_0x563b65a643ed072e(weaponHash: string | number, vehicle: number, owner: number): boolean;
25877
25877
 
25878
+ /**
25879
+ * Getter for [BREAK_OFF_VEHICLE_WHEEL](?\_0xA274CADB).
25880
+ * @param vehicle The vehicle handle.
25881
+ * @param wheelIndex The wheel index.
25882
+ */
25883
+ declare function IsVehicleWheelBrokenOff(vehicle: number, wheelIndex: number): boolean;
25884
+
25878
25885
  /**
25879
25886
  * cpp
25880
25887
  * enum eWindowId {
@@ -39063,6 +39070,20 @@ declare function OverridePopGroups(path: string): void;
39063
39070
  */
39064
39071
  declare function OverridePopscheduleVehicleModel(scheduleId: number, vehicleHash: string | number): void;
39065
39072
 
39073
+ /**
39074
+ * Setting the state to true and a value between 0 and 2 will cause pedestrian vehicles to react accordingly to sirens.
39075
+ * ```cpp
39076
+ * enum Reactions {
39077
+ * Left = 0,
39078
+ * Right = 1,
39079
+ * Stop = 2
39080
+ * }
39081
+ * ```
39082
+ * @param state Toggle on or off
39083
+ * @param reaction Decide how they should react
39084
+ */
39085
+ declare function OverrideReactionToVehicleSiren(state: boolean, reaction: number): void;
39086
+
39066
39087
  /**
39067
39088
  * OVERRIDE_SAVE_HOUSE
39068
39089
  */
@@ -53669,6 +53690,12 @@ declare function SetRandomVehicleDensityMultiplierThisFrame(multiplier: number):
53669
53690
  */
53670
53691
  declare function SetRandomWeatherType(): void;
53671
53692
 
53693
+ /**
53694
+ * This completely disables pedestrian vehicles from reacting to sirens. They will not try to do any maneuver to evade.
53695
+ * @param state Toggle on or off.
53696
+ */
53697
+ declare function SetReactionToVehicleWithSirenDisabled(state: boolean): void;
53698
+
53672
53699
  /**
53673
53700
  * Lowers the vehicle's stance. Only works for vehicles that support this feature.
53674
53701
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.16237-1",
3
+ "version": "2.0.16276-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {