@citizenfx/client 2.0.15859-1 → 2.0.16035-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.
@@ -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`](#\_0x3E160C90).
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`](#\_0x3E160C90).
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/crosire/scripthookvdotnet/blob/dev_v3/source/scripting/Control.cs
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
- * _GET_ALL_VEHICLES
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](?\_0x9A8D700A51CB7B0D)
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
 
@@ -13403,6 +13409,7 @@ declare function GetLinePlaneIntersection(x1: number, y1: number, z1: number, x2
13403
13409
  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
13410
 
13405
13411
  /**
13412
+ * ```
13406
13413
  * Second Param = LiveryIndex
13407
13414
  * example
13408
13415
  * int count = VEHICLE::GET_VEHICLE_LIVERY_COUNT(veh);
@@ -13418,9 +13425,8 @@ declare function N_0xf56dfb7b61be7276(x1: number, y1: number, z1: number, x2: nu
13418
13425
  * SANC_LV4
13419
13426
  * SANC_LV5
13420
13427
  * 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: SET_VEHICLE_MOD_KIT() before getting the name, otherwise this native may return NULL.
13423
- * dev-c.com/nativedb/func/info/1f2aa07f00b3217a
13428
+ * ```
13429
+ * 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
13430
  */
13425
13431
  declare function GetLiveryName(vehicle: number, liveryIndex: number): string;
13426
13432
 
@@ -15596,24 +15602,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
15596
15602
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
15597
15603
 
15598
15604
  /**
15599
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15605
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15600
15606
  * @param ped The target ped
15601
15607
  * @return Returns ped's eye colour, or -1 if fails to get.
15602
15608
  */
15603
15609
  declare function GetPedEyeColor(ped: number): number;
15604
-
15605
15610
  /**
15606
15611
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15607
15612
  * @param ped The target ped
15608
15613
  * @return Returns ped's eye colour, or -1 if fails to get.
15609
15614
  */
15610
- declare function GetPedEyeColor(ped: number): number;
15615
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
15616
+
15611
15617
  /**
15612
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15618
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15613
15619
  * @param ped The target ped
15614
15620
  * @return Returns ped's eye colour, or -1 if fails to get.
15615
15621
  */
15616
- declare function N_0x76bba2cee66d47e9(ped: number): number;
15622
+ declare function GetPedEyeColor(ped: number): number;
15617
15623
 
15618
15624
  /**
15619
15625
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -17264,7 +17270,7 @@ declare function GetScreenCoordFromWorldCoord(worldX: number, worldY: number, wo
17264
17270
  declare function World3dToScreen2d(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
17265
17271
 
17266
17272
  /**
17267
- * Hardcoded to always return 1280x720. Use [`_GET_ACTIVE_SCREEN_RESOLUTION`](?\_0x873C9F3104101DD3) to retrieve the correct screen resolution.
17273
+ * Hardcoded to always return 1280x720. Use [`_GET_ACTIVE_SCREEN_RESOLUTION`](#\_0x873C9F3104101DD3) to retrieve the correct screen resolution.
17268
17274
  */
17269
17275
  declare function GetScreenResolution(): [number, number];
17270
17276
 
@@ -21852,6 +21858,15 @@ declare function BlockWeaponWheelThisFrame(): void;
21852
21858
  */
21853
21859
  declare function N_0x0afc4af510774b47(): void;
21854
21860
 
21861
+ /**
21862
+ * IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE
21863
+ */
21864
+ declare function IgnoreMenuPreferenceForBonnetCameraThisUpdate(): void;
21865
+ /**
21866
+ * IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE
21867
+ */
21868
+ declare function N_0x7b8a361c1813fbef(): void;
21869
+
21855
21870
  /**
21856
21871
  * IGNORE_NEXT_RESTART
21857
21872
  */
@@ -22006,6 +22021,17 @@ declare function N_0x74bd83ea840f6bc9(): boolean;
22006
22021
  */
22007
22022
  declare function IsAlarmPlaying(alarmName: string): boolean;
22008
22023
 
22024
+ /**
22025
+ * IS_ALLOWED_INDEPENDENT_CAMERA_MODES
22026
+ * @return Returns if the "Allow Independent Camera Modes" setting in Pause Menu is turned On or Off.
22027
+ */
22028
+ declare function IsAllowedIndependentCameraModes(): boolean;
22029
+ /**
22030
+ * IS_ALLOWED_INDEPENDENT_CAMERA_MODES
22031
+ * @return Returns if the "Allow Independent Camera Modes" setting in Pause Menu is turned On or Off.
22032
+ */
22033
+ declare function N_0xeaf0fa793d05c592(): boolean;
22034
+
22009
22035
  /**
22010
22036
  * IS_AMBIENT_SPEECH_DISABLED
22011
22037
  * @return Returns true if ambient speech for the ped has been disabled
@@ -29385,11 +29411,6 @@ declare function N_0x7ac24eab6d74118d(p0: boolean): boolean;
29385
29411
  */
29386
29412
  declare function N_0x7b18da61f6bae9d5(p0: number): void;
29387
29413
 
29388
- /**
29389
- * 0x7B8A361C1813FBEF
29390
- */
29391
- declare function N_0x7b8a361c1813fbef(): void;
29392
-
29393
29414
  /**
29394
29415
  * NativeDB Introduced: v1290
29395
29416
  */
@@ -31758,11 +31779,6 @@ declare function N_0xea95c0853a27888e(): void;
31758
31779
  */
31759
31780
  declare function N_0xea9960d07dadcf10(p0: number): number;
31760
31781
 
31761
- /**
31762
- * 0xEAF0FA793D05C592
31763
- */
31764
- declare function N_0xeaf0fa793d05c592(): number;
31765
-
31766
31782
  /**
31767
31783
  * **This native does absolutely nothing, just a nullsub**
31768
31784
  */
@@ -32204,7 +32220,7 @@ declare function N_0xfdc07c58e8aab715(pickupHash: string | number): void;
32204
32220
  declare function N_0xfe4c1d0d3b9cc17e(p0: number, p1: boolean): boolean;
32205
32221
 
32206
32222
  /**
32207
- * Native to check whether [`_SET_PED_SCUBA_GEAR_VARIATION`](#\_0x36c6984c3ed0c911) is enabled/actived.
32223
+ * Native to check whether [`_SET_PED_SCUBA_GEAR_VARIATION`](#\_0x36C6984C3ED0C911) is enabled/actived.
32208
32224
  */
32209
32225
  declare function N_0xfec9a3b1820f3331(ped: number): boolean;
32210
32226
 
@@ -49168,19 +49184,19 @@ declare function SetMpGamerHealthBarDisplay(gamerTagId: number, toggle: boolean)
49168
49184
 
49169
49185
  /**
49170
49186
  * 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](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49187
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
49172
49188
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49173
49189
  */
49174
49190
  declare function SetMpGamerTagHealthBarColour(gamerTagId: number, hudColorIndex: number): void;
49175
49191
  /**
49176
49192
  * 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](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49193
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
49178
49194
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49179
49195
  */
49180
49196
  declare function N_0x3158c77a7e888ab4(gamerTagId: number, hudColorIndex: number): void;
49181
49197
  /**
49182
49198
  * 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](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49199
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](#\_0xBFEFE3321A3F5015)
49184
49200
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49185
49201
  */
49186
49202
  declare function SetMpGamerTagHealthBarColor(gamerTagId: number, hudColorIndex: number): void;
@@ -51576,7 +51592,7 @@ declare function N_0xb13dcb4c6faad238(ped: number, hasCone: boolean, color: numb
51576
51592
  * **Other information:**
51577
51593
  * IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
51578
51594
  * This native function is often called prior to calling natives such as:
51579
- * * [`SetPedHairColor`](#\_0xBB43F090)
51595
+ * * [`SetPedHairColor`](#\_0xA23FE32C)
51580
51596
  * * [`SetPedHeadOverlayColor`](#\_0x78935A27)
51581
51597
  * * [`SetPedHeadOverlay`](#\_0xD28DBA90)
51582
51598
  * * [`SetPedFaceFeature`](#\_0x6C8D4458)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.15859-1",
3
+ "version": "2.0.16035-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {