@citizenfx/client 2.0.7199-1 → 2.0.7202-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.
- package/natives_universal.d.ts +25 -18
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -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
|
|
2554
|
-
*
|
|
2555
|
-
*
|
|
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,
|
|
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
|
|
2560
|
-
*
|
|
2561
|
-
*
|
|
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,
|
|
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
|
|
2566
|
-
*
|
|
2567
|
-
*
|
|
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,
|
|
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 [
|
|
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
|
|
14130
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14131
|
+
|
|
14126
14132
|
/**
|
|
14127
|
-
* A getter for [
|
|
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
|
|
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
|
-
*
|
|
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
|
|