@citizenfx/client 2.0.15859-1 → 2.0.16057-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 +46 -29
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -3570,11 +3570,11 @@ declare function N_0xc79ae21974b01fb2(): void;
|
|
|
3570
3570
|
declare function ClearAdditionalText(p0: number, p1: boolean): void;
|
|
3571
3571
|
|
|
3572
3572
|
/**
|
|
3573
|
-
* Clears all active blip routes that have been set with [`SetBlipRoute`](#\
|
|
3573
|
+
* Clears all active blip routes that have been set with [`SetBlipRoute`](#\_0x4F7D8A9BFB0B43E9).
|
|
3574
3574
|
*/
|
|
3575
3575
|
declare function ClearAllBlipRoutes(): void;
|
|
3576
3576
|
/**
|
|
3577
|
-
* Clears all active blip routes that have been set with [`SetBlipRoute`](#\
|
|
3577
|
+
* Clears all active blip routes that have been set with [`SetBlipRoute`](#\_0x4F7D8A9BFB0B43E9).
|
|
3578
3578
|
*/
|
|
3579
3579
|
declare function N_0xd12882d3ff82bf11(): void;
|
|
3580
3580
|
|
|
@@ -8022,7 +8022,7 @@ declare function EnableClownBloodVfx(toggle: boolean): void;
|
|
|
8022
8022
|
declare function SetCameraEndtime(toggle: boolean): void;
|
|
8023
8023
|
|
|
8024
8024
|
/**
|
|
8025
|
-
* control values and meaning: github.com/
|
|
8025
|
+
* control values and meaning: https://github.com/scripthookvdotnet/scripthookvdotnet/blob/47f8bb02a50e27d4bb982f43a78091feac59b21c/source/scripting_v3/GTA/Control.cs
|
|
8026
8026
|
* and
|
|
8027
8027
|
* https://docs.fivem.net/game-references/controls/
|
|
8028
8028
|
* 0, 1 and 2 used in the scripts.
|
|
@@ -10181,7 +10181,13 @@ declare function GetAllTrackJunctions(): any;
|
|
|
10181
10181
|
declare function GetAllVehicleModels(): any;
|
|
10182
10182
|
|
|
10183
10183
|
/**
|
|
10184
|
-
*
|
|
10184
|
+
* For FiveM, use [`GET_GAME_POOL`](#\_0x2B9D4F50).
|
|
10185
|
+
* @return Returns all vehicles in the vehicle game pool.
|
|
10186
|
+
*/
|
|
10187
|
+
declare function GetAllVehicles(vehArray: number): [number, number];
|
|
10188
|
+
/**
|
|
10189
|
+
* For FiveM, use [`GET_GAME_POOL`](#\_0x2B9D4F50).
|
|
10190
|
+
* @return Returns all vehicles in the vehicle game pool.
|
|
10185
10191
|
*/
|
|
10186
10192
|
declare function GetAllVehicles(vehArray: number): [number, number];
|
|
10187
10193
|
|
|
@@ -11997,7 +12003,7 @@ declare function GetEntityScript(entity: number, script?: number): [string, numb
|
|
|
11997
12003
|
/**
|
|
11998
12004
|
* Get the speed of a entity.
|
|
11999
12005
|
* @param entity Entity id you want to test for speed.
|
|
12000
|
-
* @return Speed of a entity in m/s. You can convert to km/h using the value you get and multiply by 3.6, and miles/h by 2.236936. Also, the float returned is the length of [GET_ENTITY_SPEED_VECTOR](
|
|
12006
|
+
* @return Speed of a entity in m/s. You can convert to km/h using the value you get and multiply by 3.6, and miles/h by 2.236936. Also, the float returned is the length of [GET_ENTITY_SPEED_VECTOR](#\_0x9A8D700A51CB7B0D)
|
|
12001
12007
|
*/
|
|
12002
12008
|
declare function GetEntitySpeed(entity: number): number;
|
|
12003
12009
|
|
|
@@ -12344,6 +12350,7 @@ declare function GetFuelConsumptionState(): boolean;
|
|
|
12344
12350
|
* * 3258
|
|
12345
12351
|
* * 3323
|
|
12346
12352
|
* * 3407
|
|
12353
|
+
* * 3570
|
|
12347
12354
|
* * RedM
|
|
12348
12355
|
* * 1311
|
|
12349
12356
|
* * 1355
|
|
@@ -13403,6 +13410,7 @@ declare function GetLinePlaneIntersection(x1: number, y1: number, z1: number, x2
|
|
|
13403
13410
|
declare function N_0xf56dfb7b61be7276(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, planeX: number, planeY: number, planeZ: number, planeNormalX: number, planeNormalY: number, planeNormalZ: number, intersectionParameter?: number): [boolean, number];
|
|
13404
13411
|
|
|
13405
13412
|
/**
|
|
13413
|
+
* ```
|
|
13406
13414
|
* Second Param = LiveryIndex
|
|
13407
13415
|
* example
|
|
13408
13416
|
* int count = VEHICLE::GET_VEHICLE_LIVERY_COUNT(veh);
|
|
@@ -13418,9 +13426,8 @@ declare function N_0xf56dfb7b61be7276(x1: number, y1: number, z1: number, x2: nu
|
|
|
13418
13426
|
* SANC_LV4
|
|
13419
13427
|
* SANC_LV5
|
|
13420
13428
|
* Use _GET_LABEL_TEXT, to get the localized livery name.
|
|
13421
|
-
*
|
|
13422
|
-
* NOTE: You may need to set the vehicle's modKit to 0 by using this function
|
|
13423
|
-
* dev-c.com/nativedb/func/info/1f2aa07f00b3217a
|
|
13429
|
+
* ```
|
|
13430
|
+
* NOTE: You may need to set the vehicle's modKit to 0 by using this function [SET_VEHICLE_MOD_KIT](#\_0x1F2AA07F00B3217A) before getting the name, otherwise this native may return NULL.
|
|
13424
13431
|
*/
|
|
13425
13432
|
declare function GetLiveryName(vehicle: number, liveryIndex: number): string;
|
|
13426
13433
|
|
|
@@ -15596,24 +15603,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15596
15603
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15597
15604
|
|
|
15598
15605
|
/**
|
|
15599
|
-
* A getter for [
|
|
15606
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15600
15607
|
* @param ped The target ped
|
|
15601
15608
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15602
15609
|
*/
|
|
15603
15610
|
declare function GetPedEyeColor(ped: number): number;
|
|
15604
|
-
|
|
15605
15611
|
/**
|
|
15606
15612
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15607
15613
|
* @param ped The target ped
|
|
15608
15614
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15609
15615
|
*/
|
|
15610
|
-
declare function
|
|
15616
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15617
|
+
|
|
15611
15618
|
/**
|
|
15612
|
-
* A getter for [
|
|
15619
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15613
15620
|
* @param ped The target ped
|
|
15614
15621
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15615
15622
|
*/
|
|
15616
|
-
declare function
|
|
15623
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15617
15624
|
|
|
15618
15625
|
/**
|
|
15619
15626
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -17264,7 +17271,7 @@ declare function GetScreenCoordFromWorldCoord(worldX: number, worldY: number, wo
|
|
|
17264
17271
|
declare function World3dToScreen2d(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
17265
17272
|
|
|
17266
17273
|
/**
|
|
17267
|
-
* Hardcoded to always return 1280x720. Use [`_GET_ACTIVE_SCREEN_RESOLUTION`](
|
|
17274
|
+
* Hardcoded to always return 1280x720. Use [`_GET_ACTIVE_SCREEN_RESOLUTION`](#\_0x873C9F3104101DD3) to retrieve the correct screen resolution.
|
|
17268
17275
|
*/
|
|
17269
17276
|
declare function GetScreenResolution(): [number, number];
|
|
17270
17277
|
|
|
@@ -21852,6 +21859,15 @@ declare function BlockWeaponWheelThisFrame(): void;
|
|
|
21852
21859
|
*/
|
|
21853
21860
|
declare function N_0x0afc4af510774b47(): void;
|
|
21854
21861
|
|
|
21862
|
+
/**
|
|
21863
|
+
* IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE
|
|
21864
|
+
*/
|
|
21865
|
+
declare function IgnoreMenuPreferenceForBonnetCameraThisUpdate(): void;
|
|
21866
|
+
/**
|
|
21867
|
+
* IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE
|
|
21868
|
+
*/
|
|
21869
|
+
declare function N_0x7b8a361c1813fbef(): void;
|
|
21870
|
+
|
|
21855
21871
|
/**
|
|
21856
21872
|
* IGNORE_NEXT_RESTART
|
|
21857
21873
|
*/
|
|
@@ -22006,6 +22022,17 @@ declare function N_0x74bd83ea840f6bc9(): boolean;
|
|
|
22006
22022
|
*/
|
|
22007
22023
|
declare function IsAlarmPlaying(alarmName: string): boolean;
|
|
22008
22024
|
|
|
22025
|
+
/**
|
|
22026
|
+
* IS_ALLOWED_INDEPENDENT_CAMERA_MODES
|
|
22027
|
+
* @return Returns if the "Allow Independent Camera Modes" setting in Pause Menu is turned On or Off.
|
|
22028
|
+
*/
|
|
22029
|
+
declare function IsAllowedIndependentCameraModes(): boolean;
|
|
22030
|
+
/**
|
|
22031
|
+
* IS_ALLOWED_INDEPENDENT_CAMERA_MODES
|
|
22032
|
+
* @return Returns if the "Allow Independent Camera Modes" setting in Pause Menu is turned On or Off.
|
|
22033
|
+
*/
|
|
22034
|
+
declare function N_0xeaf0fa793d05c592(): boolean;
|
|
22035
|
+
|
|
22009
22036
|
/**
|
|
22010
22037
|
* IS_AMBIENT_SPEECH_DISABLED
|
|
22011
22038
|
* @return Returns true if ambient speech for the ped has been disabled
|
|
@@ -29385,11 +29412,6 @@ declare function N_0x7ac24eab6d74118d(p0: boolean): boolean;
|
|
|
29385
29412
|
*/
|
|
29386
29413
|
declare function N_0x7b18da61f6bae9d5(p0: number): void;
|
|
29387
29414
|
|
|
29388
|
-
/**
|
|
29389
|
-
* 0x7B8A361C1813FBEF
|
|
29390
|
-
*/
|
|
29391
|
-
declare function N_0x7b8a361c1813fbef(): void;
|
|
29392
|
-
|
|
29393
29415
|
/**
|
|
29394
29416
|
* NativeDB Introduced: v1290
|
|
29395
29417
|
*/
|
|
@@ -31758,11 +31780,6 @@ declare function N_0xea95c0853a27888e(): void;
|
|
|
31758
31780
|
*/
|
|
31759
31781
|
declare function N_0xea9960d07dadcf10(p0: number): number;
|
|
31760
31782
|
|
|
31761
|
-
/**
|
|
31762
|
-
* 0xEAF0FA793D05C592
|
|
31763
|
-
*/
|
|
31764
|
-
declare function N_0xeaf0fa793d05c592(): number;
|
|
31765
|
-
|
|
31766
31783
|
/**
|
|
31767
31784
|
* **This native does absolutely nothing, just a nullsub**
|
|
31768
31785
|
*/
|
|
@@ -32204,7 +32221,7 @@ declare function N_0xfdc07c58e8aab715(pickupHash: string | number): void;
|
|
|
32204
32221
|
declare function N_0xfe4c1d0d3b9cc17e(p0: number, p1: boolean): boolean;
|
|
32205
32222
|
|
|
32206
32223
|
/**
|
|
32207
|
-
* Native to check whether [`_SET_PED_SCUBA_GEAR_VARIATION`](#\
|
|
32224
|
+
* Native to check whether [`_SET_PED_SCUBA_GEAR_VARIATION`](#\_0x36C6984C3ED0C911) is enabled/actived.
|
|
32208
32225
|
*/
|
|
32209
32226
|
declare function N_0xfec9a3b1820f3331(ped: number): boolean;
|
|
32210
32227
|
|
|
@@ -49168,19 +49185,19 @@ declare function SetMpGamerHealthBarDisplay(gamerTagId: number, toggle: boolean)
|
|
|
49168
49185
|
|
|
49169
49186
|
/**
|
|
49170
49187
|
* Should be enabled as component (2). Has 0 alpha by default.
|
|
49171
|
-
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](
|
|
49188
|
+
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
|
|
49172
49189
|
* @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
|
|
49173
49190
|
*/
|
|
49174
49191
|
declare function SetMpGamerTagHealthBarColour(gamerTagId: number, hudColorIndex: number): void;
|
|
49175
49192
|
/**
|
|
49176
49193
|
* Should be enabled as component (2). Has 0 alpha by default.
|
|
49177
|
-
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](
|
|
49194
|
+
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
|
|
49178
49195
|
* @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
|
|
49179
49196
|
*/
|
|
49180
49197
|
declare function N_0x3158c77a7e888ab4(gamerTagId: number, hudColorIndex: number): void;
|
|
49181
49198
|
/**
|
|
49182
49199
|
* Should be enabled as component (2). Has 0 alpha by default.
|
|
49183
|
-
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](
|
|
49200
|
+
* @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
|
|
49184
49201
|
* @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
|
|
49185
49202
|
*/
|
|
49186
49203
|
declare function SetMpGamerTagHealthBarColor(gamerTagId: number, hudColorIndex: number): void;
|
|
@@ -51576,7 +51593,7 @@ declare function N_0xb13dcb4c6faad238(ped: number, hasCone: boolean, color: numb
|
|
|
51576
51593
|
* **Other information:**
|
|
51577
51594
|
* IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
|
|
51578
51595
|
* This native function is often called prior to calling natives such as:
|
|
51579
|
-
* * [`SetPedHairColor`](#\
|
|
51596
|
+
* * [`SetPedHairColor`](#\_0xA23FE32C)
|
|
51580
51597
|
* * [`SetPedHeadOverlayColor`](#\_0x78935A27)
|
|
51581
51598
|
* * [`SetPedHeadOverlay`](#\_0xD28DBA90)
|
|
51582
51599
|
* * [`SetPedFaceFeature`](#\_0x6C8D4458)
|