@citizenfx/client 2.0.5795-1 → 2.0.5798-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 +15 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -6924,6 +6924,16 @@ declare function N_0x7cd934010e115c2c(ped: number): number;
|
|
|
6924
6924
|
*/
|
|
6925
6925
|
declare function GetAllRopes(): any;
|
|
6926
6926
|
|
|
6927
|
+
/**
|
|
6928
|
+
* Returns all registered vehicle model names, including non-dlc vehicles and custom vehicles in no particular order.
|
|
6929
|
+
* **Example output**
|
|
6930
|
+
* ```
|
|
6931
|
+
* ["dubsta", "dubsta2", "dubsta3", "myverycoolcar", "sultan", "sultanrs", ...]
|
|
6932
|
+
* ```
|
|
6933
|
+
* This native will not return vehicles that are unregistered (i.e from a resource being stopped) during runtime.
|
|
6934
|
+
*/
|
|
6935
|
+
declare function GetAllVehicleModels(): any;
|
|
6936
|
+
|
|
6927
6937
|
declare function GetAllVehicles(vehArray: number): [number, number];
|
|
6928
6938
|
|
|
6929
6939
|
declare function GetAllocatedStackSize(): number;
|
|
@@ -10444,24 +10454,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
10444
10454
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
10445
10455
|
|
|
10446
10456
|
/**
|
|
10447
|
-
* A getter for [
|
|
10457
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
10448
10458
|
* @param ped The target ped
|
|
10449
10459
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10450
10460
|
*/
|
|
10451
10461
|
declare function GetPedEyeColor(ped: number): number;
|
|
10452
|
-
|
|
10453
10462
|
/**
|
|
10454
10463
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
10455
10464
|
* @param ped The target ped
|
|
10456
10465
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10457
10466
|
*/
|
|
10458
|
-
declare function
|
|
10467
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
10468
|
+
|
|
10459
10469
|
/**
|
|
10460
|
-
* A getter for [
|
|
10470
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
10461
10471
|
* @param ped The target ped
|
|
10462
10472
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10463
10473
|
*/
|
|
10464
|
-
declare function
|
|
10474
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
10465
10475
|
|
|
10466
10476
|
/**
|
|
10467
10477
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|