@citizenfx/client 2.0.6280-1 → 2.0.6281-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 +20 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -10558,24 +10558,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
10558
10558
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
10559
10559
|
|
|
10560
10560
|
/**
|
|
10561
|
-
* A getter for [
|
|
10561
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
10562
10562
|
* @param ped The target ped
|
|
10563
10563
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10564
10564
|
*/
|
|
10565
10565
|
declare function GetPedEyeColor(ped: number): number;
|
|
10566
|
+
|
|
10566
10567
|
/**
|
|
10567
10568
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
10568
10569
|
* @param ped The target ped
|
|
10569
10570
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10570
10571
|
*/
|
|
10571
|
-
declare function
|
|
10572
|
-
|
|
10572
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
10573
10573
|
/**
|
|
10574
|
-
* A getter for [
|
|
10574
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
10575
10575
|
* @param ped The target ped
|
|
10576
10576
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
10577
10577
|
*/
|
|
10578
|
-
declare function
|
|
10578
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
10579
10579
|
|
|
10580
10580
|
/**
|
|
10581
10581
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -27581,6 +27581,21 @@ declare function N_0xf0daef2f545bee25(id: number): boolean;
|
|
|
27581
27581
|
*/
|
|
27582
27582
|
declare function RequestPtfxAsset(): void;
|
|
27583
27583
|
|
|
27584
|
+
/**
|
|
27585
|
+
* Requests a resource file set with the specified name to be downloaded and mounted on top of the current resource.
|
|
27586
|
+
* Resource file sets are specified in `fxmanifest.lua` with the following syntax:
|
|
27587
|
+
* ```lua
|
|
27588
|
+
* file_set 'addon_ui' {
|
|
27589
|
+
* 'ui/addon/index.html',
|
|
27590
|
+
* 'ui/addon -- [[*.js',
|
|
27591
|
+
* }
|
|
27592
|
+
* ```
|
|
27593
|
+
* This command will trigger a script error if the request failed.
|
|
27594
|
+
* @param setName The name of the file set as specified in `fxmanifest.lua`.
|
|
27595
|
+
* @return `TRUE` if the set is mounted, `FALSE` if the request is still pending.
|
|
27596
|
+
*/
|
|
27597
|
+
declare function RequestResourceFileSet(setName: string): boolean;
|
|
27598
|
+
|
|
27584
27599
|
declare function RequestScaleformMovie(scaleformName: string): number;
|
|
27585
27600
|
|
|
27586
27601
|
/**
|