@citizenfx/client 2.0.14033-1 → 2.0.14120-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.
@@ -6001,13 +6001,17 @@ declare function DeleteStuntJump(p0: number): void;
6001
6001
  declare function DeleteVehicle(vehicle: number): void;
6002
6002
 
6003
6003
  /**
6004
- * _DELETE_WAYPOINT
6004
+ * Same as [`SET_WAYPOINT_OFF`](#\_0xA7E4E2D361C2627F), except it checks if the local player is the owner of the waypoint.
6005
6005
  */
6006
- declare function DeleteWaypoint(): void;
6006
+ declare function DeleteWaypointsFromThisPlayer(): void;
6007
6007
  /**
6008
- * _DELETE_WAYPOINT
6008
+ * Same as [`SET_WAYPOINT_OFF`](#\_0xA7E4E2D361C2627F), except it checks if the local player is the owner of the waypoint.
6009
6009
  */
6010
6010
  declare function N_0xd8e694757bcea8e9(): void;
6011
+ /**
6012
+ * Same as [`SET_WAYPOINT_OFF`](#\_0xA7E4E2D361C2627F), except it checks if the local player is the owner of the waypoint.
6013
+ */
6014
+ declare function DeleteWaypoint(): void;
6011
6015
 
6012
6016
  /**
6013
6017
  * Does nothing and always returns false.
@@ -7445,6 +7449,15 @@ declare function DrawGizmo(matrixPtr: number, id: string): boolean;
7445
7449
  */
7446
7450
  declare function DrawGlowSphere(posX: number, posY: number, posZ: number, radius: number, colorR: number, colorG: number, colorB: number, intensity: number, invert: boolean, marker: boolean): void;
7447
7451
 
7452
+ /**
7453
+ * Allows HUD to be drawn over screen fade every frame this function is called.
7454
+ */
7455
+ declare function DrawHudOverFadeThisFrame(): void;
7456
+ /**
7457
+ * Allows HUD to be drawn over screen fade every frame this function is called.
7458
+ */
7459
+ declare function N_0xbf4f34a85ca2970c(): void;
7460
+
7448
7461
  /**
7449
7462
  * Similar to [\_DRAW_SPRITE](#\_0xE7FFAE5EBF23D890), but seems to be some kind of "interactive" sprite, at least used by render targets.
7450
7463
  * These seem to be the only dicts ever requested by this native:
@@ -9330,7 +9343,7 @@ declare function EnsureEntityStateBag(entity: number): void;
9330
9343
  declare function EnterCursorMode(): void;
9331
9344
 
9332
9345
  /**
9333
- * EXECUTE_COMMAND
9346
+ * Depending on your use case you may need to use `add_acl resource.<your_resource_name> command.<command_name> allow` to use this native in your resource.
9334
9347
  */
9335
9348
  declare function ExecuteCommand(commandString: string): void;
9336
9349
 
@@ -11514,6 +11527,38 @@ declare function GetDriftTyresEnabled(vehicle: number): boolean;
11514
11527
  */
11515
11528
  declare function GetDuiHandle(duiObject: number): string;
11516
11529
 
11530
+ /**
11531
+ * ### Supported types
11532
+ * * \[1] : Peds (including animals) and players.
11533
+ * * \[2] : Vehicles.
11534
+ * * \[3] : Objects (props), doors, and projectiles.
11535
+ * ### Coordinates need to be send unpacked (x,y,z)
11536
+ * ```lua
11537
+ * -- Define the allowed model hashes
11538
+ * local allowedModelHashes = { GetHashKey("p_crate03x"), GetHashKey("p_crate22x") }
11539
+ * -- Get the player's current coordinates
11540
+ * local playerCoords = GetEntityCoords(PlayerPedId())
11541
+ * -- Retrieve all entities of type Object (type 3) within a radius of 10.0 units
11542
+ * -- that match the allowed model hashes
11543
+ * -- and sort output entities by distance
11544
+ * local entities = GetEntitiesInRadius(playerCoords.x, playerCoords.y, playerCoords.z, 10.0, 3, true, allowedModelHashes)
11545
+ * -- Iterate through the list of entities and print their ids
11546
+ * for i = 1, #entities do
11547
+ * local entity = entities[i]
11548
+ * print(entity)
11549
+ * end
11550
+ * ```
11551
+ * @param x The X coordinate.
11552
+ * @param y The Y coordinate.
11553
+ * @param z The Z coordinate.
11554
+ * @param radius Max distance from coordinate to entity
11555
+ * @param entityType Entity types see list below
11556
+ * @param sortByDistance Sort output entites by distance from nearest to farthest
11557
+ * @param models List of allowed models its also optional
11558
+ * @return An array containing entity handles for each entity.
11559
+ */
11560
+ declare function GetEntitiesInRadius(x: number, y: number, z: number, radius: number, entityType: number, sortByDistance: boolean, models: any): any;
11561
+
11517
11562
  /**
11518
11563
  * **Experimental**: This native may be altered or removed in future versions of CitizenFX without warning.
11519
11564
  * Returns the memory address of an entity.
@@ -13702,6 +13747,103 @@ declare function GetModelDimensions(modelHash: string | number): [number[], numb
13702
13747
  */
13703
13748
  declare function GetMount(ped: number): number;
13704
13749
 
13750
+ /**
13751
+ * Gets mouse event data from scaleforms with mouse support. Must be checked every frame.
13752
+ * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
13753
+ * Selection types, found in MOUSE_EVENTS.as:
13754
+ * MOUSE_DRAG_OUT = 0;
13755
+ * MOUSE_DRAG_OVER = 1;
13756
+ * MOUSE_DOWN = 2;
13757
+ * MOUSE_MOVE = 3;
13758
+ * MOUSE_UP = 4;
13759
+ * MOUSE_PRESS = 5;
13760
+ * MOUSE_RELEASE = 6;
13761
+ * MOUSE_RELEASE_OUTSIDE = 7;
13762
+ * MOUSE_ROLL_OUT = 8;
13763
+ * MOUSE_ROLL_OVER = 9;
13764
+ * MOUSE_WHEEL_UP = 10;
13765
+ * MOUSE_WHEEL_DOWN = 11;
13766
+ * Scaleforms that this works with:
13767
+ * * COLOUR_SWITCHER\_02
13768
+ * * MP_RESULTS_PANEL
13769
+ * * MP_NEXT_JOB_SELECTION
13770
+ * * SC_LEADERBOARD
13771
+ * Probably works with other scaleforms, needs more research.
13772
+ * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
13773
+ * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
13774
+ * @param scaleformHandle Handle of the scaleform
13775
+ * @param received Returns a boolean indicating if the data was received successfully (in Lua).
13776
+ * @param selectionType The type of MouseEvent specified above.
13777
+ * @param context Context of the slot the mouse is hovering on.
13778
+ * @param slotIndex Index of the slot the mouse is hovering on.
13779
+ * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
13780
+ */
13781
+ declare function GetMouseEvent(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
13782
+ /**
13783
+ * Gets mouse event data from scaleforms with mouse support. Must be checked every frame.
13784
+ * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
13785
+ * Selection types, found in MOUSE_EVENTS.as:
13786
+ * MOUSE_DRAG_OUT = 0;
13787
+ * MOUSE_DRAG_OVER = 1;
13788
+ * MOUSE_DOWN = 2;
13789
+ * MOUSE_MOVE = 3;
13790
+ * MOUSE_UP = 4;
13791
+ * MOUSE_PRESS = 5;
13792
+ * MOUSE_RELEASE = 6;
13793
+ * MOUSE_RELEASE_OUTSIDE = 7;
13794
+ * MOUSE_ROLL_OUT = 8;
13795
+ * MOUSE_ROLL_OVER = 9;
13796
+ * MOUSE_WHEEL_UP = 10;
13797
+ * MOUSE_WHEEL_DOWN = 11;
13798
+ * Scaleforms that this works with:
13799
+ * * COLOUR_SWITCHER\_02
13800
+ * * MP_RESULTS_PANEL
13801
+ * * MP_NEXT_JOB_SELECTION
13802
+ * * SC_LEADERBOARD
13803
+ * Probably works with other scaleforms, needs more research.
13804
+ * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
13805
+ * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
13806
+ * @param scaleformHandle Handle of the scaleform
13807
+ * @param received Returns a boolean indicating if the data was received successfully (in Lua).
13808
+ * @param selectionType The type of MouseEvent specified above.
13809
+ * @param context Context of the slot the mouse is hovering on.
13810
+ * @param slotIndex Index of the slot the mouse is hovering on.
13811
+ * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
13812
+ */
13813
+ declare function N_0x632b2940c67f4ea9(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
13814
+ /**
13815
+ * Gets mouse event data from scaleforms with mouse support. Must be checked every frame.
13816
+ * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
13817
+ * Selection types, found in MOUSE_EVENTS.as:
13818
+ * MOUSE_DRAG_OUT = 0;
13819
+ * MOUSE_DRAG_OVER = 1;
13820
+ * MOUSE_DOWN = 2;
13821
+ * MOUSE_MOVE = 3;
13822
+ * MOUSE_UP = 4;
13823
+ * MOUSE_PRESS = 5;
13824
+ * MOUSE_RELEASE = 6;
13825
+ * MOUSE_RELEASE_OUTSIDE = 7;
13826
+ * MOUSE_ROLL_OUT = 8;
13827
+ * MOUSE_ROLL_OVER = 9;
13828
+ * MOUSE_WHEEL_UP = 10;
13829
+ * MOUSE_WHEEL_DOWN = 11;
13830
+ * Scaleforms that this works with:
13831
+ * * COLOUR_SWITCHER\_02
13832
+ * * MP_RESULTS_PANEL
13833
+ * * MP_NEXT_JOB_SELECTION
13834
+ * * SC_LEADERBOARD
13835
+ * Probably works with other scaleforms, needs more research.
13836
+ * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
13837
+ * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
13838
+ * @param scaleformHandle Handle of the scaleform
13839
+ * @param received Returns a boolean indicating if the data was received successfully (in Lua).
13840
+ * @param selectionType The type of MouseEvent specified above.
13841
+ * @param context Context of the slot the mouse is hovering on.
13842
+ * @param slotIndex Index of the slot the mouse is hovering on.
13843
+ * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
13844
+ */
13845
+ declare function GetScaleformMovieCursorSelection(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
13846
+
13705
13847
  /**
13706
13848
  * GET_MUSIC_PLAYTIME
13707
13849
  * @return Returns the play time in milliseconds of the current score track.
@@ -15432,24 +15574,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
15432
15574
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
15433
15575
 
15434
15576
  /**
15435
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15577
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15436
15578
  * @param ped The target ped
15437
15579
  * @return Returns ped's eye colour, or -1 if fails to get.
15438
15580
  */
15439
15581
  declare function GetPedEyeColor(ped: number): number;
15582
+
15440
15583
  /**
15441
15584
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15442
15585
  * @param ped The target ped
15443
15586
  * @return Returns ped's eye colour, or -1 if fails to get.
15444
15587
  */
15445
- declare function N_0x76bba2cee66d47e9(ped: number): number;
15446
-
15588
+ declare function GetPedEyeColor(ped: number): number;
15447
15589
  /**
15448
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15590
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15449
15591
  * @param ped The target ped
15450
15592
  * @return Returns ped's eye colour, or -1 if fails to get.
15451
15593
  */
15452
- declare function GetPedEyeColor(ped: number): number;
15594
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
15453
15595
 
15454
15596
  /**
15455
15597
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -16989,71 +17131,6 @@ declare function GetSafePickupCoords(x: number, y: number, z: number, p3: number
16989
17131
  */
16990
17132
  declare function GetSafeZoneSize(): number;
16991
17133
 
16992
- /**
16993
- * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame.
16994
- * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
16995
- * Selection types, found in MOUSE_EVENTS.as:
16996
- * MOUSE_DRAG_OUT = 0;
16997
- * MOUSE_DRAG_OVER = 1;
16998
- * MOUSE_DOWN = 2;
16999
- * MOUSE_MOVE = 3;
17000
- * MOUSE_UP = 4;
17001
- * MOUSE_PRESS = 5;
17002
- * MOUSE_RELEASE = 6;
17003
- * MOUSE_RELEASE_OUTSIDE = 7;
17004
- * MOUSE_ROLL_OUT = 8;
17005
- * MOUSE_ROLL_OVER = 9;
17006
- * MOUSE_WHEEL_UP = 10;
17007
- * MOUSE_WHEEL_DOWN = 11;
17008
- * Scaleforms that this works with:
17009
- * * COLOUR_SWITCHER\_02
17010
- * * MP_RESULTS_PANEL
17011
- * * MP_NEXT_JOB_SELECTION
17012
- * * SC_LEADERBOARD
17013
- * Probably works with other scaleforms, needs more research.
17014
- * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
17015
- * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
17016
- * @param scaleformHandle Handle of the scaleform
17017
- * @param received Returns a boolean indicating if the data was received successfully (in Lua).
17018
- * @param selectionType The type of MouseEvent specified above.
17019
- * @param context Context of the slot the mouse is hovering on.
17020
- * @param slotIndex Index of the slot the mouse is hovering on.
17021
- * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
17022
- */
17023
- declare function GetScaleformMovieCursorSelection(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
17024
- /**
17025
- * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame.
17026
- * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
17027
- * Selection types, found in MOUSE_EVENTS.as:
17028
- * MOUSE_DRAG_OUT = 0;
17029
- * MOUSE_DRAG_OVER = 1;
17030
- * MOUSE_DOWN = 2;
17031
- * MOUSE_MOVE = 3;
17032
- * MOUSE_UP = 4;
17033
- * MOUSE_PRESS = 5;
17034
- * MOUSE_RELEASE = 6;
17035
- * MOUSE_RELEASE_OUTSIDE = 7;
17036
- * MOUSE_ROLL_OUT = 8;
17037
- * MOUSE_ROLL_OVER = 9;
17038
- * MOUSE_WHEEL_UP = 10;
17039
- * MOUSE_WHEEL_DOWN = 11;
17040
- * Scaleforms that this works with:
17041
- * * COLOUR_SWITCHER\_02
17042
- * * MP_RESULTS_PANEL
17043
- * * MP_NEXT_JOB_SELECTION
17044
- * * SC_LEADERBOARD
17045
- * Probably works with other scaleforms, needs more research.
17046
- * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
17047
- * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
17048
- * @param scaleformHandle Handle of the scaleform
17049
- * @param received Returns a boolean indicating if the data was received successfully (in Lua).
17050
- * @param selectionType The type of MouseEvent specified above.
17051
- * @param context Context of the slot the mouse is hovering on.
17052
- * @param slotIndex Index of the slot the mouse is hovering on.
17053
- * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
17054
- */
17055
- declare function N_0x632b2940c67f4ea9(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
17056
-
17057
17134
  /**
17058
17135
  * GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL
17059
17136
  * @param methodReturn Operation handle returned by [`END_SCALEFORM_MOVIE_METHOD_RETURN_VALUE`](#\_0xC50AA39A577AF886)
@@ -30816,11 +30893,6 @@ declare function N_0xbf22e0f32968e967(player: number, p1: boolean): void;
30816
30893
  */
30817
30894
  declare function N_0xbf371cd2b64212fd(p0: number): void;
30818
30895
 
30819
- /**
30820
- * 0xBF4F34A85CA2970C
30821
- */
30822
- declare function N_0xbf4f34a85ca2970c(): void;
30823
-
30824
30896
  /**
30825
30897
  * 0xBF72910D0F26F025
30826
30898
  */
@@ -44435,15 +44507,19 @@ declare function SetBlipBright(blip: number, toggle: boolean): void;
44435
44507
  * 7 = "Other Players" category, also shows distance in legend
44436
44508
  * 10 = "Property" category
44437
44509
  * 11 = "Owned Property" category
44510
+ * 12 - 133 = Custom named categories
44511
+ * 134 - 254 = Custom unnamed categories
44438
44512
  * ```
44439
- * Any other value behaves like `index = 1`, `index` wraps around after 255
44440
- * Blips with categories `7`, `10` or `11` will all show under the specific categories listing in the map legend, regardless of sprite or name.
44513
+ * `index` wraps around after 255.
44514
+ * Blips with categories `7`, `10`, `11` or `12 - 254` (custom categories) will all show under the specific categories listing in the map legend, regardless of sprite or name.
44441
44515
  * **Legend entries**
44442
44516
  * | index | Legend entry | Label |
44443
44517
  * | --- | --- | --- |
44444
44518
  * | 7 | Other Players | `BLIP_OTHPLYR` |
44445
44519
  * | 10 | Property | `BLIP_PROPCAT` |
44446
44520
  * | 11 | Owned Property | `BLIP_APARTCAT` |
44521
+ * | 12 - 133 | Custom categories (Named) | `BLIP_CAT_` + `index` |
44522
+ * | 134 - 254 | Custom categories (Unnamed) | `-` |
44447
44523
  * @param blip The blip to change the category index of
44448
44524
  * @param index The category index to change to
44449
44525
  */
@@ -48996,19 +49072,19 @@ declare function SetMpGamerHealthBarDisplay(gamerTagId: number, toggle: boolean)
48996
49072
 
48997
49073
  /**
48998
49074
  * Should be enabled as component (2). Has 0 alpha by default.
48999
- * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://runtime.fivem.net/doc/natives/?\_0xBFEFE3321A3F5015)
49075
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49000
49076
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49001
49077
  */
49002
49078
  declare function SetMpGamerTagHealthBarColour(gamerTagId: number, hudColorIndex: number): void;
49003
49079
  /**
49004
49080
  * Should be enabled as component (2). Has 0 alpha by default.
49005
- * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://runtime.fivem.net/doc/natives/?\_0xBFEFE3321A3F5015)
49081
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49006
49082
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49007
49083
  */
49008
49084
  declare function N_0x3158c77a7e888ab4(gamerTagId: number, hudColorIndex: number): void;
49009
49085
  /**
49010
49086
  * Should be enabled as component (2). Has 0 alpha by default.
49011
- * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://runtime.fivem.net/doc/natives/?\_0xBFEFE3321A3F5015)
49087
+ * @param gamerTagId a gamerTagId obtained using for example: [CREATE_FAKE_MP_GAMER_TAG](https://docs.fivem.net/natives/?\_0xBFEFE3321A3F5015)
49012
49088
  * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
49013
49089
  */
49014
49090
  declare function SetMpGamerTagHealthBarColor(gamerTagId: number, hudColorIndex: number): void;
@@ -57405,13 +57481,17 @@ declare function SetWantedLevelMultiplier(multiplier: number): void;
57405
57481
  declare function SetWarningMessage(entryLine1: string, instructionalKey: number, entryLine2: string, p3: boolean, p4: number, background: string, p6: string, showBg: boolean, errorCode: number): void;
57406
57482
 
57407
57483
  /**
57408
- * Param names copied from the corresponding scaleform function "SET_LIST_ROW"
57484
+ * SET_WARNING_MESSAGE_OPTION_ITEMS
57409
57485
  */
57410
- declare function SetWarningMessageListRow(index: number, name: string, cash: number, rp: number, lvl: number, colour: number): boolean;
57486
+ declare function SetWarningMessageOptionItems(index: number, name: string, cash: number, rp: number, lvl: number, colour: number): boolean;
57411
57487
  /**
57412
- * Param names copied from the corresponding scaleform function "SET_LIST_ROW"
57488
+ * SET_WARNING_MESSAGE_OPTION_ITEMS
57413
57489
  */
57414
57490
  declare function N_0x0c5a80a9e096d529(index: number, name: string, cash: number, rp: number, lvl: number, colour: number): boolean;
57491
+ /**
57492
+ * SET_WARNING_MESSAGE_OPTION_ITEMS
57493
+ */
57494
+ declare function SetWarningMessageListRow(index: number, name: string, cash: number, rp: number, lvl: number, colour: number): boolean;
57415
57495
 
57416
57496
  /**
57417
57497
  * instructionalKey enum list:
@@ -59365,11 +59445,21 @@ declare function Cast_3dRayPointToPoint(x1: number, y1: number, z1: number, x2:
59365
59445
  * IntersectPeds = 4,
59366
59446
  * IntersectRagdolls = 8,
59367
59447
  * IntersectObjects = 16,
59368
- * IntersectWater = 32,
59448
+ * IntersectPickup = 32,
59369
59449
  * IntersectGlass = 64,
59370
59450
  * IntersectRiver = 128,
59371
59451
  * IntersectFoliage = 256,
59372
- * IntersectEverything = -1
59452
+ * IntersectEverything = 511
59453
+ * }
59454
+ * ```
59455
+ * ```cpp
59456
+ * enum eTraceOptionFlags
59457
+ * {
59458
+ * None = 0,
59459
+ * OptionIgnoreGlass = 1,
59460
+ * OptionIgnoreSeeThrough = 2,
59461
+ * OptionIgnoreNoCollision = 4,
59462
+ * OptionDefault = 7
59373
59463
  * }
59374
59464
  * ```
59375
59465
  * NOTE: Raycasts that intersect with mission_entites (flag = 2) has limited range and will not register for far away entites. The range seems to be about 30 metres.
@@ -59382,10 +59472,10 @@ declare function Cast_3dRayPointToPoint(x1: number, y1: number, z1: number, x2:
59382
59472
  * @param z2 Ending Z coordinate.
59383
59473
  * @param traceFlags Refer to `eTraceFlags`, this defines what the shape test will intersect with
59384
59474
  * @param entity An entity to ignore, or 0.
59385
- * @param options A bit mask with bits 1, 2, 4, or 7 relating to collider types. 4 and 7 are usually used.
59475
+ * @param optionFlags Refer to `eTraceOptionFlags`, this defines additional options for the shape test
59386
59476
  * @return A shape test handle.
59387
59477
  */
59388
- declare function StartShapeTestLosProbe(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, traceFlags: number, entity: number, options: number): number;
59478
+ declare function StartShapeTestLosProbe(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, traceFlags: number, entity: number, optionFlags: number): number;
59389
59479
  /**
59390
59480
  * Asynchronously starts a line-of-sight (raycast) world probe shape test.
59391
59481
  * ```cpp
@@ -59397,11 +59487,21 @@ declare function StartShapeTestLosProbe(x1: number, y1: number, z1: number, x2:
59397
59487
  * IntersectPeds = 4,
59398
59488
  * IntersectRagdolls = 8,
59399
59489
  * IntersectObjects = 16,
59400
- * IntersectWater = 32,
59490
+ * IntersectPickup = 32,
59401
59491
  * IntersectGlass = 64,
59402
59492
  * IntersectRiver = 128,
59403
59493
  * IntersectFoliage = 256,
59404
- * IntersectEverything = -1
59494
+ * IntersectEverything = 511
59495
+ * }
59496
+ * ```
59497
+ * ```cpp
59498
+ * enum eTraceOptionFlags
59499
+ * {
59500
+ * None = 0,
59501
+ * OptionIgnoreGlass = 1,
59502
+ * OptionIgnoreSeeThrough = 2,
59503
+ * OptionIgnoreNoCollision = 4,
59504
+ * OptionDefault = 7
59405
59505
  * }
59406
59506
  * ```
59407
59507
  * NOTE: Raycasts that intersect with mission_entites (flag = 2) has limited range and will not register for far away entites. The range seems to be about 30 metres.
@@ -59414,10 +59514,10 @@ declare function StartShapeTestLosProbe(x1: number, y1: number, z1: number, x2:
59414
59514
  * @param z2 Ending Z coordinate.
59415
59515
  * @param traceFlags Refer to `eTraceFlags`, this defines what the shape test will intersect with
59416
59516
  * @param entity An entity to ignore, or 0.
59417
- * @param options A bit mask with bits 1, 2, 4, or 7 relating to collider types. 4 and 7 are usually used.
59517
+ * @param optionFlags Refer to `eTraceOptionFlags`, this defines additional options for the shape test
59418
59518
  * @return A shape test handle.
59419
59519
  */
59420
- declare function N_0x7ee9f5d83dd4f90e(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, traceFlags: number, entity: number, options: number): number;
59520
+ declare function N_0x7ee9f5d83dd4f90e(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, traceFlags: number, entity: number, optionFlags: number): number;
59421
59521
 
59422
59522
  /**
59423
59523
  * Since it is only used in the PC version, likely some mouse-friendly shape test. Uses **in** vector arguments.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.14033-1",
3
+ "version": "2.0.14120-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {