@citizenfx/client 2.0.7199-1 → 2.0.7208-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.
@@ -2550,23 +2550,29 @@ declare function N_0xe7e4c198b0185900(p0: number, p1: number, p2: boolean): void
2550
2550
  declare function BreakOffVehicleWheel(vehicle: number, wheelIndex: number, leaveDebrisTrail: boolean, deleteWheel: boolean, unknownFlag: boolean, putOnFire: boolean): void;
2551
2551
 
2552
2552
  /**
2553
- * This native makes the vehicle stop immediately, as happens when we enter a MP garage.
2554
- * . distance defines how far it will travel until stopping. Garage doors use 3.0.
2555
- * . If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer.
2553
+ * This native makes the vehicle stop immediately, as it happens when we enter a multiplayer garage.
2554
+ * @param vehicle The vehicle to stop.
2555
+ * @param distance The distance from the initial coords at which the vehicle should come to rest.
2556
+ * @param duration The length of time in seconds to hold the car at rest after stopping.
2557
+ * @param bControlVerticalVelocity `false` by default which allows gravity to act normally in the z direction. Enable this option to halt the vehicle's vertical velocity as well.
2556
2558
  */
2557
- declare function BringVehicleToHalt(vehicle: number, distance: number, duration: number, unknown: boolean): void;
2559
+ declare function BringVehicleToHalt(vehicle: number, distance: number, duration: number, bControlVerticalVelocity: boolean): void;
2558
2560
  /**
2559
- * This native makes the vehicle stop immediately, as happens when we enter a MP garage.
2560
- * . distance defines how far it will travel until stopping. Garage doors use 3.0.
2561
- * . If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer.
2561
+ * This native makes the vehicle stop immediately, as it happens when we enter a multiplayer garage.
2562
+ * @param vehicle The vehicle to stop.
2563
+ * @param distance The distance from the initial coords at which the vehicle should come to rest.
2564
+ * @param duration The length of time in seconds to hold the car at rest after stopping.
2565
+ * @param bControlVerticalVelocity `false` by default which allows gravity to act normally in the z direction. Enable this option to halt the vehicle's vertical velocity as well.
2562
2566
  */
2563
- declare function N_0x260be8f09e326a20(vehicle: number, distance: number, duration: number, unknown: boolean): void;
2567
+ declare function N_0x260be8f09e326a20(vehicle: number, distance: number, duration: number, bControlVerticalVelocity: boolean): void;
2564
2568
  /**
2565
- * This native makes the vehicle stop immediately, as happens when we enter a MP garage.
2566
- * . distance defines how far it will travel until stopping. Garage doors use 3.0.
2567
- * . If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer.
2569
+ * This native makes the vehicle stop immediately, as it happens when we enter a multiplayer garage.
2570
+ * @param vehicle The vehicle to stop.
2571
+ * @param distance The distance from the initial coords at which the vehicle should come to rest.
2572
+ * @param duration The length of time in seconds to hold the car at rest after stopping.
2573
+ * @param bControlVerticalVelocity `false` by default which allows gravity to act normally in the z direction. Enable this option to halt the vehicle's vertical velocity as well.
2568
2574
  */
2569
- declare function SetVehicleHalt(vehicle: number, distance: number, duration: number, unknown: boolean): void;
2575
+ declare function SetVehicleHalt(vehicle: number, distance: number, duration: number, bControlVerticalVelocity: boolean): void;
2570
2576
 
2571
2577
  /**
2572
2578
  * BUSYSPINNER_IS_DISPLAYING
@@ -14111,24 +14117,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
14111
14117
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
14112
14118
 
14113
14119
  /**
14114
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14120
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14115
14121
  * @param ped The target ped
14116
14122
  * @return Returns ped's eye colour, or -1 if fails to get.
14117
14123
  */
14118
14124
  declare function GetPedEyeColor(ped: number): number;
14119
-
14120
14125
  /**
14121
14126
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14122
14127
  * @param ped The target ped
14123
14128
  * @return Returns ped's eye colour, or -1 if fails to get.
14124
14129
  */
14125
- declare function GetPedEyeColor(ped: number): number;
14130
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
14131
+
14126
14132
  /**
14127
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14133
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14128
14134
  * @param ped The target ped
14129
14135
  * @return Returns ped's eye colour, or -1 if fails to get.
14130
14136
  */
14131
- declare function N_0x76bba2cee66d47e9(ped: number): number;
14137
+ declare function GetPedEyeColor(ped: number): number;
14132
14138
 
14133
14139
  /**
14134
14140
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -47213,7 +47219,8 @@ declare function SetPedDefensiveSphereAttachedToVehicle(ped: number, target: num
47213
47219
  declare function N_0xe4723db6e736ccff(ped: number, target: number, xOffset: number, yOffset: number, zOffset: number, radius: number, p6: boolean): void;
47214
47220
 
47215
47221
  /**
47216
- * SET_PED_DENSITY_MULTIPLIER_THIS_FRAME
47222
+ * **Usage:** Call this native every frame
47223
+ * @param multiplier Adjust from 0.0 (minimum, indicating no pedestrians in the street) to 1.0 (maximum, representing a normal amount of pedestrians on the street).
47217
47224
  */
47218
47225
  declare function SetPedDensityMultiplierThisFrame(multiplier: number): void;
47219
47226
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7199-1",
3
+ "version": "2.0.7208-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {