@citizenfx/client 2.0.4886-1 → 2.0.4907-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 +28 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -4022,6 +4022,12 @@ declare function N_0xa21c118553bbdf02(ped: number): void;
|
|
|
4022
4022
|
*/
|
|
4023
4023
|
declare function DisableHospitalRestart(hospitalIndex: number, toggle: boolean): void;
|
|
4024
4024
|
|
|
4025
|
+
/**
|
|
4026
|
+
* Disables the game's afk camera that starts panning around after 30 seconds of inactivity.
|
|
4027
|
+
* @param state On/Off
|
|
4028
|
+
*/
|
|
4029
|
+
declare function DisableIdleCamera(state: boolean): void;
|
|
4030
|
+
|
|
4025
4031
|
declare function DisableIndividualPlanePropeller(vehicle: number, propeller: number): void;
|
|
4026
4032
|
declare function N_0x500873a45724c863(vehicle: number, propeller: number): void;
|
|
4027
4033
|
declare function DisablePlanePropeller(vehicle: number, propeller: number): void;
|
|
@@ -9745,24 +9751,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
9745
9751
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
9746
9752
|
|
|
9747
9753
|
/**
|
|
9748
|
-
* A getter for [
|
|
9754
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
9749
9755
|
* @param ped The target ped
|
|
9750
9756
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
9751
9757
|
*/
|
|
9752
9758
|
declare function GetPedEyeColor(ped: number): number;
|
|
9753
|
-
|
|
9754
9759
|
/**
|
|
9755
9760
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
9756
9761
|
* @param ped The target ped
|
|
9757
9762
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
9758
9763
|
*/
|
|
9759
|
-
declare function
|
|
9764
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
9765
|
+
|
|
9760
9766
|
/**
|
|
9761
|
-
* A getter for [
|
|
9767
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
9762
9768
|
* @param ped The target ped
|
|
9763
9769
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
9764
9770
|
*/
|
|
9765
|
-
declare function
|
|
9771
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
9766
9772
|
|
|
9767
9773
|
/**
|
|
9768
9774
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -28200,6 +28206,23 @@ declare function SetWavesIntensity(intensity: number): void;
|
|
|
28200
28206
|
*/
|
|
28201
28207
|
declare function SetCurrentIntensity(intensity: number): void;
|
|
28202
28208
|
|
|
28209
|
+
/**
|
|
28210
|
+
* Sets the default number plate text pattern for vehicles seen on the local client with the specified plate index as their *default* index (`plateProbabilities` from carvariations).
|
|
28211
|
+
* For consistency, this should be used with the same value on all clients, since vehicles *without* custom text will use a seeded random number generator with this pattern to determine the default plate text.
|
|
28212
|
+
* The default value is `11AAA111`, and using this or a NULL string will revert to the default game RNG.
|
|
28213
|
+
* ### Pattern string format
|
|
28214
|
+
* * `1` will lead to a random number from 0-9.
|
|
28215
|
+
* * `A` will lead to a random letter from A-Z.
|
|
28216
|
+
* * `.` will lead to a random letter *or* number, with 50% probability of being either.
|
|
28217
|
+
* * `^1` will lead to a literal `1` being emitted.
|
|
28218
|
+
* * `^A` will lead to a literal `A` being emitted.
|
|
28219
|
+
* * Any other character will lead to said character being emitted.
|
|
28220
|
+
* * A string shorter than 8 characters will be padded on the right.
|
|
28221
|
+
* @param plateIndex A plate index, or `-1` to set a default for any indices that do not have a specific value.
|
|
28222
|
+
* @param pattern A number plate pattern string, or a null value to reset to default.
|
|
28223
|
+
*/
|
|
28224
|
+
declare function SetDefaultVehicleNumberPlateTextPattern(plateIndex: number, pattern: string): void;
|
|
28225
|
+
|
|
28203
28226
|
/**
|
|
28204
28227
|
* Only used with the "akula" and "annihilator2" in the decompiled native scripts.
|
|
28205
28228
|
* ```
|