@citizenfx/client 2.0.28871-1 → 2.0.28954-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 +13 -12
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -7656,7 +7656,7 @@ declare function N_0x1072f115dab0717e(p0: boolean, p1: boolean): void;
|
|
|
7656
7656
|
|
|
7657
7657
|
/**
|
|
7658
7658
|
* Draws a marker with the specified appearance at the target location. This has to be called every frame, e.g. in a `Wait(0)` loop.
|
|
7659
|
-
* There's a [list of markers](https://docs.fivem.net/game-references/markers/) on the FiveM documentation site.
|
|
7659
|
+
* There's a [list of markers](https://docs.fivem.net/docs/game-references/markers/) on the FiveM documentation site.
|
|
7660
7660
|
* @param type The marker type to draw.
|
|
7661
7661
|
* @param posX The X coordinate to draw the marker at.
|
|
7662
7662
|
* @param posY The Y coordinate to draw the marker at.
|
|
@@ -8104,7 +8104,7 @@ declare function SetCameraEndtime(toggle: boolean): void;
|
|
|
8104
8104
|
/**
|
|
8105
8105
|
* control values and meaning: https://github.com/scripthookvdotnet/scripthookvdotnet/blob/47f8bb02a50e27d4bb982f43a78091feac59b21c/source/scripting_v3/GTA/Control.cs
|
|
8106
8106
|
* and
|
|
8107
|
-
* https://docs.fivem.net/game-references/controls/
|
|
8107
|
+
* https://docs.fivem.net/docs/game-references/controls/
|
|
8108
8108
|
* 0, 1 and 2 used in the scripts.
|
|
8109
8109
|
* Control values from the decompiled scripts:
|
|
8110
8110
|
* 0,1,2,3,4,5,6,8,9,10,11,14,15,16,17,19,21,22,24,25,26,30,31,32,33,34,35,36,
|
|
@@ -13287,7 +13287,7 @@ declare function GetIsLeftVehicleHeadlightDamaged(vehicle: number): boolean;
|
|
|
13287
13287
|
declare function IsHeadlightLBroken(vehicle: number): boolean;
|
|
13288
13288
|
|
|
13289
13289
|
/**
|
|
13290
|
-
* When loading in, returns true until [`SHUTDOWN_LOADING_SCREEN`](#\_0x078EBE9809CCD637) was called. Note that this is referring to the game's loading screen, not the NUI loadingscreen and is therefore not impacted by [loadscreen_manual_shutdown](https://docs.fivem.net/docs/scripting-reference/resource-manifest
|
|
13290
|
+
* When loading in, returns true until [`SHUTDOWN_LOADING_SCREEN`](#\_0x078EBE9809CCD637) was called. Note that this is referring to the game's loading screen, not the NUI loadingscreen and is therefore not impacted by [loadscreen_manual_shutdown](https://docs.fivem.net/docs/scripting-reference/resource-manifest/#loadscreen_manual_shutdown).
|
|
13291
13291
|
* @return Wether the player is still in the loadingscreen
|
|
13292
13292
|
*/
|
|
13293
13293
|
declare function GetIsLoadingScreenActive(): boolean;
|
|
@@ -15765,24 +15765,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15765
15765
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15766
15766
|
|
|
15767
15767
|
/**
|
|
15768
|
-
* A getter for [
|
|
15768
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15769
15769
|
* @param ped The target ped
|
|
15770
15770
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15771
15771
|
*/
|
|
15772
15772
|
declare function GetPedEyeColor(ped: number): number;
|
|
15773
|
-
|
|
15774
15773
|
/**
|
|
15775
15774
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15776
15775
|
* @param ped The target ped
|
|
15777
15776
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15778
15777
|
*/
|
|
15779
|
-
declare function
|
|
15778
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15779
|
+
|
|
15780
15780
|
/**
|
|
15781
|
-
* A getter for [
|
|
15781
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15782
15782
|
* @param ped The target ped
|
|
15783
15783
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15784
15784
|
*/
|
|
15785
|
-
declare function
|
|
15785
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15786
15786
|
|
|
15787
15787
|
/**
|
|
15788
15788
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -17502,6 +17502,7 @@ declare function GetSeatPedIsTryingToEnter(ped: number): number;
|
|
|
17502
17502
|
|
|
17503
17503
|
/**
|
|
17504
17504
|
* GET_SELECTED_PED_WEAPON
|
|
17505
|
+
* @return Hash: The weapon hash of the currently selected weapon.
|
|
17505
17506
|
*/
|
|
17506
17507
|
declare function GetSelectedPedWeapon(ped: number): number;
|
|
17507
17508
|
|
|
@@ -44871,7 +44872,7 @@ declare function N_0x2b6d467dab714e8d(blip: number, toggle: boolean): void;
|
|
|
44871
44872
|
|
|
44872
44873
|
/**
|
|
44873
44874
|
* Sets the displayed sprite for a specific blip.
|
|
44874
|
-
* There's a [list of sprites](https://docs.fivem.net/game-references/blips/) on the FiveM documentation site.
|
|
44875
|
+
* There's a [list of sprites](https://docs.fivem.net/docs/game-references/blips/) on the FiveM documentation site.
|
|
44875
44876
|
* @param blip The blip to change.
|
|
44876
44877
|
* @param spriteId The sprite ID to set.
|
|
44877
44878
|
*/
|
|
@@ -62273,19 +62274,19 @@ declare function TaskPerformSequence(ped: number, taskSequenceId: number): void;
|
|
|
62273
62274
|
declare function TaskPerformSequenceFromProgress(ped: number, taskIndex: number, progress1: number, progress2: number): void;
|
|
62274
62275
|
|
|
62275
62276
|
/**
|
|
62276
|
-
* For an example on how to use this please refer to
|
|
62277
|
+
* For an example on how to use this please refer to [OPEN_SEQUENCE_TASK](#\_0xE8854A4326B9E12B)
|
|
62277
62278
|
* @param ped The ped to perform the sequence on
|
|
62278
62279
|
* @param taskSequenceId The sequence to perform
|
|
62279
62280
|
*/
|
|
62280
62281
|
declare function TaskPerformSequenceLocally(ped: number, taskSequenceId: number): void;
|
|
62281
62282
|
/**
|
|
62282
|
-
* For an example on how to use this please refer to
|
|
62283
|
+
* For an example on how to use this please refer to [OPEN_SEQUENCE_TASK](#\_0xE8854A4326B9E12B)
|
|
62283
62284
|
* @param ped The ped to perform the sequence on
|
|
62284
62285
|
* @param taskSequenceId The sequence to perform
|
|
62285
62286
|
*/
|
|
62286
62287
|
declare function N_0x8c33220c8d78ca0d(ped: number, taskSequenceId: number): void;
|
|
62287
62288
|
/**
|
|
62288
|
-
* For an example on how to use this please refer to
|
|
62289
|
+
* For an example on how to use this please refer to [OPEN_SEQUENCE_TASK](#\_0xE8854A4326B9E12B)
|
|
62289
62290
|
* @param ped The ped to perform the sequence on
|
|
62290
62291
|
* @param taskSequenceId The sequence to perform
|
|
62291
62292
|
*/
|