@citizenfx/client 2.0.20072-1 → 2.0.20150-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.
Files changed (2) hide show
  1. package/natives_universal.d.ts +204 -235
  2. package/package.json +1 -1
@@ -6357,11 +6357,11 @@ declare function SetTextChatUnk(disable: boolean): void;
6357
6357
  declare function DisableNavmeshInArea(posMinX: number, posMinY: number, posMinZ: number, posMaxX: number, posMaxY: number, posMaxZ: number, bDisable: boolean): void;
6358
6358
 
6359
6359
  /**
6360
- * DISABLE_OCCLUSION_THIS_FRAME
6360
+ * This disables all occluders that cause the 'flickering' rendering under the map and inside buildings with no interiors, note that this may impact performance on lower end systems.
6361
6361
  */
6362
6362
  declare function DisableOcclusionThisFrame(): void;
6363
6363
  /**
6364
- * DISABLE_OCCLUSION_THIS_FRAME
6364
+ * This disables all occluders that cause the 'flickering' rendering under the map and inside buildings with no interiors, note that this may impact performance on lower end systems.
6365
6365
  */
6366
6366
  declare function N_0x3669f1b198dcaa4f(): void;
6367
6367
 
@@ -9210,13 +9210,19 @@ declare function EndTextCommandThefeedPostMessagetextWithCrewTagAndAdditionalIco
9210
9210
  declare function SetNotificationMessageClanTag_2(picTxd: string, picTxn: string, flash: boolean, iconType1: number, nameStr: string, subtitleStr: string, duration: number, crewPackedStr: string, iconType2: number, textColor: number): number;
9211
9211
 
9212
9212
  /**
9213
- * END_TEXT_COMMAND_THEFEED_POST_MPTICKER
9213
+ * Exactly the same as [`END_TEXT_COMMAND_THEFEED_POST_TICKER`](#\_0x2ED7843F8F801023).
9214
+ * @param isImportant If true, the notification will flash.
9215
+ * @param showInBrief If true, the message will be shown in Pause Menu > Info > Notifications.
9216
+ * @return The notification handle.
9214
9217
  */
9215
- declare function EndTextCommandThefeedPostMpticker(blink: boolean, bHasTokens: boolean): number;
9218
+ declare function EndTextCommandThefeedPostMpticker(isImportant: boolean, showInBrief: boolean): number;
9216
9219
  /**
9217
- * END_TEXT_COMMAND_THEFEED_POST_MPTICKER
9220
+ * Exactly the same as [`END_TEXT_COMMAND_THEFEED_POST_TICKER`](#\_0x2ED7843F8F801023).
9221
+ * @param isImportant If true, the notification will flash.
9222
+ * @param showInBrief If true, the message will be shown in Pause Menu > Info > Notifications.
9223
+ * @return The notification handle.
9218
9224
  */
9219
- declare function DrawNotification_4(blink: boolean, bHasTokens: boolean): number;
9225
+ declare function DrawNotification_4(isImportant: boolean, showInBrief: boolean): number;
9220
9226
 
9221
9227
  /**
9222
9228
  * returns a notification handle, prints out a notification like below:
@@ -9309,39 +9315,69 @@ declare function N_0x2b7e9a4eaaa93c89(statTitle: string, iconEnum: number, stepV
9309
9315
  declare function SetNotificationMessage_2(statTitle: string, iconEnum: number, stepVal: boolean, barValue: number, isImportant: boolean, picTxd: string, picTxn: string): number;
9310
9316
 
9311
9317
  /**
9312
- * Example output preview:
9313
- * ![](https://i.imgur.com/TJvqkYq.png)
9314
- * @param isImportant Makes the notification flash on the screen.
9315
- * @param bHasTokens Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section.
9316
- * @return The notification handle.
9318
+ * Posts a generic feed notification:
9319
+ * ![](https://i.ibb.co/GkHcFvf/image.png)
9320
+ * ````
9321
+ * ## Parameters
9322
+ * * **isImportant**: Makes the notification flash on the screen.
9323
+ * * **showInBrief**: Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section.
9324
+ * ## Return value
9325
+ * The notification handle.
9326
+ * ## Examples
9327
+ * ```lua
9328
+ * AddTextEntry("MyFeedMessage", "Hello " .. GetPlayerName(PlayerId()) .. ".")
9329
+ * BeginTextCommandThefeedPost("MyFeedMessage")
9330
+ * EndTextCommandThefeedPostTicker(true, true)
9331
+ * ````
9317
9332
  */
9318
- declare function EndTextCommandThefeedPostTicker(isImportant: boolean, bHasTokens: boolean): number;
9333
+ declare function EndTextCommandThefeedPostTicker(isImportant: boolean, showInBrief: boolean): number;
9319
9334
  /**
9320
- * Example output preview:
9321
- * ![](https://i.imgur.com/TJvqkYq.png)
9322
- * @param isImportant Makes the notification flash on the screen.
9323
- * @param bHasTokens Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section.
9324
- * @return The notification handle.
9335
+ * Posts a generic feed notification:
9336
+ * ![](https://i.ibb.co/GkHcFvf/image.png)
9337
+ * ````
9338
+ * ## Parameters
9339
+ * * **isImportant**: Makes the notification flash on the screen.
9340
+ * * **showInBrief**: Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section.
9341
+ * ## Return value
9342
+ * The notification handle.
9343
+ * ## Examples
9344
+ * ```lua
9345
+ * AddTextEntry("MyFeedMessage", "Hello " .. GetPlayerName(PlayerId()) .. ".")
9346
+ * BeginTextCommandThefeedPost("MyFeedMessage")
9347
+ * EndTextCommandThefeedPostTicker(true, true)
9348
+ * ````
9325
9349
  */
9326
- declare function DrawNotification(isImportant: boolean, bHasTokens: boolean): number;
9350
+ declare function DrawNotification(isImportant: boolean, showInBrief: boolean): number;
9327
9351
 
9328
9352
  /**
9329
- * END_TEXT_COMMAND_THEFEED_POST_TICKER_FORCED
9353
+ * Posts an above minimap feed notification that is forced (Previous messages will be cleared).
9354
+ * @param isImportant If true, the notification will flash.
9355
+ * @param showInBrief If true, shows in Pause Menu > Info > Notifications.
9356
+ * @return The notification handle.
9330
9357
  */
9331
- declare function EndTextCommandThefeedPostTickerForced(blink: boolean, bHasTokens: boolean): number;
9358
+ declare function EndTextCommandThefeedPostTickerForced(isImportant: boolean, showInBrief: boolean): number;
9332
9359
  /**
9333
- * END_TEXT_COMMAND_THEFEED_POST_TICKER_FORCED
9360
+ * Posts an above minimap feed notification that is forced (Previous messages will be cleared).
9361
+ * @param isImportant If true, the notification will flash.
9362
+ * @param showInBrief If true, shows in Pause Menu > Info > Notifications.
9363
+ * @return The notification handle.
9334
9364
  */
9335
- declare function DrawNotification_2(blink: boolean, bHasTokens: boolean): number;
9365
+ declare function DrawNotification_2(isImportant: boolean, showInBrief: boolean): number;
9336
9366
 
9337
9367
  /**
9338
- * END_TEXT_COMMAND_THEFEED_POST_TICKER_WITH_TOKENS
9368
+ * Posts an above minimap feed message with tokens support (blips, input keys, etc...)
9369
+ * @param isImportant Makes the notification flash.
9370
+ * @param showInBrief Shows in Pause Menu > Info > Notifications.
9371
+ * @return Notification handle.
9339
9372
  */
9340
- declare function EndTextCommandThefeedPostTickerWithTokens(isImportant: boolean, bHasTokens: boolean): number;
9373
+ declare function EndTextCommandThefeedPostTickerWithTokens(isImportant: boolean, showInBrief: boolean): number;
9341
9374
  /**
9342
- * END_TEXT_COMMAND_THEFEED_POST_TICKER_WITH_TOKENS
9375
+ * Posts an above minimap feed message with tokens support (blips, input keys, etc...)
9376
+ * @param isImportant Makes the notification flash.
9377
+ * @param showInBrief Shows in Pause Menu > Info > Notifications.
9378
+ * @return Notification handle.
9343
9379
  */
9344
- declare function DrawNotification_3(isImportant: boolean, bHasTokens: boolean): number;
9380
+ declare function DrawNotification_3(isImportant: boolean, showInBrief: boolean): number;
9345
9381
 
9346
9382
  /**
9347
9383
  * END_TEXT_COMMAND_THEFEED_POST_UNLOCK
@@ -14015,6 +14051,7 @@ declare function GetThreadName(threadId: number): string;
14015
14051
  * ARMYB = Fort Zancudo
14016
14052
  * BANHAMC = Banham Canyon Dr
14017
14053
  * BANNING = Banning
14054
+ * BAYTRE = Baytree Canyon
14018
14055
  * BEACH = Vespucci Beach
14019
14056
  * BHAMCA = Banham Canyon
14020
14057
  * BRADP = Braddock Pass
@@ -14040,6 +14077,7 @@ declare function GetThreadName(threadId: number): string;
14040
14077
  * ELGORL = El Gordo Lighthouse
14041
14078
  * ELYSIAN = Elysian Island
14042
14079
  * GALFISH = Galilee
14080
+ * GALLI = Galileo Park
14043
14081
  * GOLF = GWC and Golfing Society
14044
14082
  * GRAPES = Grapeseed
14045
14083
  * GREATC = Great Chaparral
@@ -14064,6 +14102,7 @@ declare function GetThreadName(threadId: number): string;
14064
14102
  * MURRI = Murrieta Heights
14065
14103
  * NCHU = North Chumash
14066
14104
  * NOOSE = N.O.O.S.E
14105
+ * OBSERV = Galileo Observatory
14067
14106
  * OCEANA = Pacific Ocean
14068
14107
  * PALCOV = Paleto Cove
14069
14108
  * PALETO = Paleto Bay
@@ -15712,24 +15751,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
15712
15751
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
15713
15752
 
15714
15753
  /**
15715
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15754
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15716
15755
  * @param ped The target ped
15717
15756
  * @return Returns ped's eye colour, or -1 if fails to get.
15718
15757
  */
15719
15758
  declare function GetPedEyeColor(ped: number): number;
15759
+
15720
15760
  /**
15721
15761
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15722
15762
  * @param ped The target ped
15723
15763
  * @return Returns ped's eye colour, or -1 if fails to get.
15724
15764
  */
15725
- declare function N_0x76bba2cee66d47e9(ped: number): number;
15726
-
15765
+ declare function GetPedEyeColor(ped: number): number;
15727
15766
  /**
15728
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
15767
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
15729
15768
  * @param ped The target ped
15730
15769
  * @return Returns ped's eye colour, or -1 if fails to get.
15731
15770
  */
15732
- declare function GetPedEyeColor(ped: number): number;
15771
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
15733
15772
 
15734
15773
  /**
15735
15774
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -20614,96 +20653,9 @@ declare function GetWorldPositionOfEntityBone(entity: number, boneIndex: number)
20614
20653
  declare function GetZoneAtCoords(x: number, y: number, z: number): number;
20615
20654
 
20616
20655
  /**
20617
- * 'zoneName' corresponds to an entry in 'popzone.ipl'.
20618
- * AIRP = Los Santos International Airport
20619
- * ALAMO = Alamo Sea
20620
- * ALTA = Alta
20621
- * ARMYB = Fort Zancudo
20622
- * BANHAMC = Banham Canyon Dr
20623
- * BANNING = Banning
20624
- * BEACH = Vespucci Beach
20625
- * BHAMCA = Banham Canyon
20626
- * BRADP = Braddock Pass
20627
- * BRADT = Braddock Tunnel
20628
- * BURTON = Burton
20629
- * CALAFB = Calafia Bridge
20630
- * CANNY = Raton Canyon
20631
- * CCREAK = Cassidy Creek
20632
- * CHAMH = Chamberlain Hills
20633
- * CHIL = Vinewood Hills
20634
- * CHU = Chumash
20635
- * CMSW = Chiliad Mountain State Wilderness
20636
- * CYPRE = Cypress Flats
20637
- * DAVIS = Davis
20638
- * DELBE = Del Perro Beach
20639
- * DELPE = Del Perro
20640
- * DELSOL = La Puerta
20641
- * DESRT = Grand Senora Desert
20642
- * DOWNT = Downtown
20643
- * DTVINE = Downtown Vinewood
20644
- * EAST_V = East Vinewood
20645
- * EBURO = El Burro Heights
20646
- * ELGORL = El Gordo Lighthouse
20647
- * ELYSIAN = Elysian Island
20648
- * GALFISH = Galilee
20649
- * GOLF = GWC and Golfing Society
20650
- * GRAPES = Grapeseed
20651
- * GREATC = Great Chaparral
20652
- * HARMO = Harmony
20653
- * HAWICK = Hawick
20654
- * HORS = Vinewood Racetrack
20655
- * HUMLAB = Humane Labs and Research
20656
- * JAIL = Bolingbroke Penitentiary
20657
- * KOREAT = Little Seoul
20658
- * LACT = Land Act Reservoir
20659
- * LAGO = Lago Zancudo
20660
- * LDAM = Land Act Dam
20661
- * LEGSQU = Legion Square
20662
- * LMESA = La Mesa
20663
- * LOSPUER = La Puerta
20664
- * MIRR = Mirror Park
20665
- * MORN = Morningwood
20666
- * MOVIE = Richards Majestic
20667
- * MTCHIL = Mount Chiliad
20668
- * MTGORDO = Mount Gordo
20669
- * MTJOSE = Mount Josiah
20670
- * MURRI = Murrieta Heights
20671
- * NCHU = North Chumash
20672
- * NOOSE = N.O.O.S.E
20673
- * OCEANA = Pacific Ocean
20674
- * PALCOV = Paleto Cove
20675
- * PALETO = Paleto Bay
20676
- * PALFOR = Paleto Forest
20677
- * PALHIGH = Palomino Highlands
20678
- * PALMPOW = Palmer-Taylor Power Station
20679
- * PBLUFF = Pacific Bluffs
20680
- * PBOX = Pillbox Hill
20681
- * PROCOB = Procopio Beach
20682
- * RANCHO = Rancho
20683
- * RGLEN = Richman Glen
20684
- * RICHM = Richman
20685
- * ROCKF = Rockford Hills
20686
- * RTRAK = Redwood Lights Track
20687
- * SANAND = San Andreas
20688
- * SANCHIA = San Chianski Mountain Range
20689
- * SANDY = Sandy Shores
20690
- * SKID = Mission Row
20691
- * SLAB = Stab City
20692
- * STAD = Maze Bank Arena
20693
- * STRAW = Strawberry
20694
- * TATAMO = Tataviam Mountains
20695
- * TERMINA = Terminal
20696
- * TEXTI = Textile City
20697
- * TONGVAH = Tongva Hills
20698
- * TONGVAV = Tongva Valley
20699
- * VCANA = Vespucci Canals
20700
- * VESP = Vespucci
20701
- * VINE = Vinewood
20702
- * WINDF = Ron Alternates Wind Farm
20703
- * WVINE = West Vinewood
20704
- * ZANCUDO = Zancudo River
20705
- * ZP_ORT = Port of South Los Santos
20706
- * ZQ_UAR = Davis Quartz
20656
+ * Refer to https://docs.fivem.net/docs/game-references/zones/ for a list of all zones including their integer ID, string ID, short name and full name
20657
+ * @param zoneName The zone name like "Z_RMAN2", most-left column of popzone.ipl
20658
+ * @return The zone ID, index in the popzone.ipl file starting with 1
20707
20659
  */
20708
20660
  declare function GetZoneFromNameId(zoneName: string): number;
20709
20661
 
@@ -21192,12 +21144,12 @@ declare function HasBulletImpactedInArea(x: number, y: number, z: number, p3: nu
21192
21144
  declare function HasBulletImpactedInBox(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: boolean): boolean;
21193
21145
 
21194
21146
  /**
21195
- * This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the "amount" represents the amount of buttons used in a combination. The following page can be used to make a button combination: gta5offset.com/ts/hash/
21147
+ * This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the "amount" represents the amount of buttons used in a combination.
21196
21148
  * INT_SCORES_SCORTED was a hash collision
21197
21149
  */
21198
21150
  declare function HasButtonCombinationJustBeenEntered(hash: string | number, amount: number): boolean;
21199
21151
  /**
21200
- * This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the "amount" represents the amount of buttons used in a combination. The following page can be used to make a button combination: gta5offset.com/ts/hash/
21152
+ * This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the "amount" represents the amount of buttons used in a combination.
21201
21153
  * INT_SCORES_SCORTED was a hash collision
21202
21154
  */
21203
21155
  declare function N_0x071e2a839de82d90(hash: string | number, amount: number): boolean;
@@ -39748,103 +39700,101 @@ declare function PlayPedAmbientSpeechAndCloneNative(ped: number, speechName: str
39748
39700
  declare function PlayAmbientSpeech2(ped: number, speechName: string, speechParam: string): void;
39749
39701
 
39750
39702
  /**
39751
- * Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#\_0xC6941B4A3A8FBBB9).
39752
- * ```
39753
- * speechParam: Can be one of the following:
39754
- * SPEECH_PARAMS_STANDARD
39755
- * SPEECH_PARAMS_ALLOW_REPEAT
39756
- * SPEECH_PARAMS_BEAT
39757
- * SPEECH_PARAMS_FORCE
39758
- * SPEECH_PARAMS_FORCE_FRONTEND
39759
- * SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND
39760
- * SPEECH_PARAMS_FORCE_NORMAL
39761
- * SPEECH_PARAMS_FORCE_NORMAL_CLEAR
39762
- * SPEECH_PARAMS_FORCE_NORMAL_CRITICAL
39763
- * SPEECH_PARAMS_FORCE_SHOUTED
39764
- * SPEECH_PARAMS_FORCE_SHOUTED_CLEAR
39765
- * SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL
39766
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY
39767
- * SPEECH_PARAMS_MEGAPHONE
39768
- * SPEECH_PARAMS_HELI
39769
- * SPEECH_PARAMS_FORCE_MEGAPHONE
39770
- * SPEECH_PARAMS_FORCE_HELI
39771
- * SPEECH_PARAMS_INTERRUPT
39772
- * SPEECH_PARAMS_INTERRUPT_SHOUTED
39773
- * SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR
39774
- * SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL
39775
- * SPEECH_PARAMS_INTERRUPT_NO_FORCE
39776
- * SPEECH_PARAMS_INTERRUPT_FRONTEND
39777
- * SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND
39778
- * SPEECH_PARAMS_ADD_BLIP
39779
- * SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT
39780
- * SPEECH_PARAMS_ADD_BLIP_FORCE
39781
- * SPEECH_PARAMS_ADD_BLIP_SHOUTED
39782
- * SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE
39783
- * SPEECH_PARAMS_ADD_BLIP_INTERRUPT
39784
- * SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE
39785
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED
39786
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR
39787
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL
39788
- * SPEECH_PARAMS_SHOUTED
39789
- * SPEECH_PARAMS_SHOUTED_CLEAR
39790
- * SPEECH_PARAMS_SHOUTED_CRITICAL
39791
- * Note: A list of Name and Parameters can be found here pastebin.com/1GZS5dCL
39792
- * ```
39793
- * ```
39794
- * NativeDB Added Parameter 4: Any p3
39703
+ * Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#\_0xC6941B4A3A8FBBB9). Some speeches only play on certain ped models.
39704
+ * A full list of speech names can be found [here](https://docs.fivem.net/docs/game-references/speeches/).
39705
+ * ```cpp
39706
+ * static const char *SpeechParams[] = {
39707
+ * "SPEECH_PARAMS_ADD_BLIP",
39708
+ * "SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT",
39709
+ * "SPEECH_PARAMS_ADD_BLIP_FORCE",
39710
+ * "SPEECH_PARAMS_ADD_BLIP_INTERRUPT",
39711
+ * "SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE",
39712
+ * "SPEECH_PARAMS_ADD_BLIP_SHOUTED",
39713
+ * "SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE",
39714
+ * "SPEECH_PARAMS_ALLOW_REPEAT",
39715
+ * "SPEECH_PARAMS_BEAT",
39716
+ * "SPEECH_PARAMS_FORCE",
39717
+ * "SPEECH_PARAMS_FORCE_FRONTEND",
39718
+ * "SPEECH_PARAMS_FORCE_HELI",
39719
+ * "SPEECH_PARAMS_FORCE_MEGAPHONE",
39720
+ * "SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND",
39721
+ * "SPEECH_PARAMS_FORCE_NORMAL",
39722
+ * "SPEECH_PARAMS_FORCE_NORMAL_CLEAR",
39723
+ * "SPEECH_PARAMS_FORCE_NORMAL_CRITICAL",
39724
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY",
39725
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED",
39726
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR",
39727
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL",
39728
+ * "SPEECH_PARAMS_FORCE_SHOUTED",
39729
+ * "SPEECH_PARAMS_FORCE_SHOUTED_CLEAR",
39730
+ * "SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL",
39731
+ * "SPEECH_PARAMS_HELI",
39732
+ * "SPEECH_PARAMS_INTERRUPT",
39733
+ * "SPEECH_PARAMS_INTERRUPT_FRONTEND",
39734
+ * "SPEECH_PARAMS_INTERRUPT_NO_FORCE",
39735
+ * "SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND",
39736
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED",
39737
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR",
39738
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL",
39739
+ * "SPEECH_PARAMS_MEGAPHONE",
39740
+ * "SPEECH_PARAMS_SHOUTED",
39741
+ * "SPEECH_PARAMS_SHOUTED_CLEAR",
39742
+ * "SPEECH_PARAMS_SHOUTED_CRITICAL",
39743
+ * "SPEECH_PARAMS_STANDARD"
39744
+ * }
39795
39745
  * ```
39796
39746
  * @param ped The ped to play the ambient speech.
39797
39747
  * @param speechName Name of the speech to play, eg. "GENERIC_HI".
39748
+ * @param speechParam Name of the speechParam rage game object to look to for various details on how the speech should be played.
39798
39749
  */
39799
39750
  declare function PlayPedAmbientSpeechNative(ped: number, speechName: string, speechParam: string): void;
39800
39751
  /**
39801
- * Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#\_0xC6941B4A3A8FBBB9).
39802
- * ```
39803
- * speechParam: Can be one of the following:
39804
- * SPEECH_PARAMS_STANDARD
39805
- * SPEECH_PARAMS_ALLOW_REPEAT
39806
- * SPEECH_PARAMS_BEAT
39807
- * SPEECH_PARAMS_FORCE
39808
- * SPEECH_PARAMS_FORCE_FRONTEND
39809
- * SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND
39810
- * SPEECH_PARAMS_FORCE_NORMAL
39811
- * SPEECH_PARAMS_FORCE_NORMAL_CLEAR
39812
- * SPEECH_PARAMS_FORCE_NORMAL_CRITICAL
39813
- * SPEECH_PARAMS_FORCE_SHOUTED
39814
- * SPEECH_PARAMS_FORCE_SHOUTED_CLEAR
39815
- * SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL
39816
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY
39817
- * SPEECH_PARAMS_MEGAPHONE
39818
- * SPEECH_PARAMS_HELI
39819
- * SPEECH_PARAMS_FORCE_MEGAPHONE
39820
- * SPEECH_PARAMS_FORCE_HELI
39821
- * SPEECH_PARAMS_INTERRUPT
39822
- * SPEECH_PARAMS_INTERRUPT_SHOUTED
39823
- * SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR
39824
- * SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL
39825
- * SPEECH_PARAMS_INTERRUPT_NO_FORCE
39826
- * SPEECH_PARAMS_INTERRUPT_FRONTEND
39827
- * SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND
39828
- * SPEECH_PARAMS_ADD_BLIP
39829
- * SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT
39830
- * SPEECH_PARAMS_ADD_BLIP_FORCE
39831
- * SPEECH_PARAMS_ADD_BLIP_SHOUTED
39832
- * SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE
39833
- * SPEECH_PARAMS_ADD_BLIP_INTERRUPT
39834
- * SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE
39835
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED
39836
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR
39837
- * SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL
39838
- * SPEECH_PARAMS_SHOUTED
39839
- * SPEECH_PARAMS_SHOUTED_CLEAR
39840
- * SPEECH_PARAMS_SHOUTED_CRITICAL
39841
- * Note: A list of Name and Parameters can be found here pastebin.com/1GZS5dCL
39842
- * ```
39843
- * ```
39844
- * NativeDB Added Parameter 4: Any p3
39752
+ * Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#\_0xC6941B4A3A8FBBB9). Some speeches only play on certain ped models.
39753
+ * A full list of speech names can be found [here](https://docs.fivem.net/docs/game-references/speeches/).
39754
+ * ```cpp
39755
+ * static const char *SpeechParams[] = {
39756
+ * "SPEECH_PARAMS_ADD_BLIP",
39757
+ * "SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT",
39758
+ * "SPEECH_PARAMS_ADD_BLIP_FORCE",
39759
+ * "SPEECH_PARAMS_ADD_BLIP_INTERRUPT",
39760
+ * "SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE",
39761
+ * "SPEECH_PARAMS_ADD_BLIP_SHOUTED",
39762
+ * "SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE",
39763
+ * "SPEECH_PARAMS_ALLOW_REPEAT",
39764
+ * "SPEECH_PARAMS_BEAT",
39765
+ * "SPEECH_PARAMS_FORCE",
39766
+ * "SPEECH_PARAMS_FORCE_FRONTEND",
39767
+ * "SPEECH_PARAMS_FORCE_HELI",
39768
+ * "SPEECH_PARAMS_FORCE_MEGAPHONE",
39769
+ * "SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND",
39770
+ * "SPEECH_PARAMS_FORCE_NORMAL",
39771
+ * "SPEECH_PARAMS_FORCE_NORMAL_CLEAR",
39772
+ * "SPEECH_PARAMS_FORCE_NORMAL_CRITICAL",
39773
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY",
39774
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED",
39775
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR",
39776
+ * "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL",
39777
+ * "SPEECH_PARAMS_FORCE_SHOUTED",
39778
+ * "SPEECH_PARAMS_FORCE_SHOUTED_CLEAR",
39779
+ * "SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL",
39780
+ * "SPEECH_PARAMS_HELI",
39781
+ * "SPEECH_PARAMS_INTERRUPT",
39782
+ * "SPEECH_PARAMS_INTERRUPT_FRONTEND",
39783
+ * "SPEECH_PARAMS_INTERRUPT_NO_FORCE",
39784
+ * "SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND",
39785
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED",
39786
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR",
39787
+ * "SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL",
39788
+ * "SPEECH_PARAMS_MEGAPHONE",
39789
+ * "SPEECH_PARAMS_SHOUTED",
39790
+ * "SPEECH_PARAMS_SHOUTED_CLEAR",
39791
+ * "SPEECH_PARAMS_SHOUTED_CRITICAL",
39792
+ * "SPEECH_PARAMS_STANDARD"
39793
+ * }
39845
39794
  * ```
39846
39795
  * @param ped The ped to play the ambient speech.
39847
39796
  * @param speechName Name of the speech to play, eg. "GENERIC_HI".
39797
+ * @param speechParam Name of the speechParam rage game object to look to for various details on how the speech should be played.
39848
39798
  */
39849
39799
  declare function PlayAmbientSpeech1(ped: number, speechName: string, speechParam: string): void;
39850
39800
 
@@ -41586,7 +41536,7 @@ declare function RemoveAnimSet(animSet: string): void;
41586
41536
 
41587
41537
  /**
41588
41538
  * Removes the blip from your map.
41589
- * **Note:** This function only works on the script that created the blip, if you wish to remove blips created by other scripts, see [`SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT`](#\_0x86A652570E5F25DD).
41539
+ * **Note:** This function only works on the script that created the blip, if you wish to remove blips created by other scripts, see [`SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT`](#\_0xB98236CAAECEF897).
41590
41540
  * @param blip Blip handle to remove.
41591
41541
  */
41592
41542
  declare function RemoveBlip(blip: number): void;
@@ -45896,11 +45846,19 @@ declare function SetCurrentPlayerTcmodifier(modifierName: string): void;
45896
45846
  declare function N_0xbbf327ded94e4deb(modifierName: string): void;
45897
45847
 
45898
45848
  /**
45899
- * _SET_CURSOR_LOCATION
45849
+ * Sets the position of the mouse cursor within the current UI context (e.g., NUI menu or pause menu).\
45850
+ * Coordinates must be in the range 0.0 to 1.0, where (0.5, 0.5) represents the center of the screen.
45851
+ * @param x Horizontal position (0.0 = left, 1.0 = right)
45852
+ * @param y Vertical position (0.0 = top, 1.0 = bottom)
45853
+ * @return Returns `true` if the cursor position was successfully set, otherwise `false`.
45900
45854
  */
45901
45855
  declare function SetCursorLocation(x: number, y: number): boolean;
45902
45856
  /**
45903
- * _SET_CURSOR_LOCATION
45857
+ * Sets the position of the mouse cursor within the current UI context (e.g., NUI menu or pause menu).\
45858
+ * Coordinates must be in the range 0.0 to 1.0, where (0.5, 0.5) represents the center of the screen.
45859
+ * @param x Horizontal position (0.0 = left, 1.0 = right)
45860
+ * @param y Vertical position (0.0 = top, 1.0 = bottom)
45861
+ * @return Returns `true` if the cursor position was successfully set, otherwise `false`.
45904
45862
  */
45905
45863
  declare function N_0xfc695459d4d0e219(x: number, y: number): boolean;
45906
45864
 
@@ -52024,9 +51982,9 @@ declare function SetPedHasAiBlipWithColor(ped: number, hasCone: boolean, color:
52024
51982
  declare function N_0xb13dcb4c6faad238(ped: number, hasCone: boolean, color: number): void;
52025
51983
 
52026
51984
  /**
52027
- * For more info please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic.
51985
+ * For more info and the list of faceIDs please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic. Note that the Skin and Shape IDs are shared. This native will use this same list for both Skin and Shape IDs.
52028
51986
  * **Other information:**
52029
- * IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
51987
+ * IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.
52030
51988
  * This native function is often called prior to calling natives such as:
52031
51989
  * * [`SetPedHairColor`](#\_0xA23FE32C)
52032
51990
  * * [`SetPedHeadOverlayColor`](#\_0x78935A27)
@@ -59280,7 +59238,7 @@ declare function N_0xf2f6a2fa49278625(t: number, x: number, y: number, z: number
59280
59238
  /**
59281
59239
  * Returns true if the object has finished moving.
59282
59240
  * If false, moves the object towards the specified X, Y and Z coordinates with the specified X, Y and Z speed.
59283
- * See also: https://gtagmodding.com/opcode-database/opcode/034E/
59241
+ * See also: https://gtag.sannybuilder.com/opcode-database/opcode/034E/
59284
59242
  * Has to be looped until it returns true.
59285
59243
  */
59286
59244
  declare function SlideObject(object: number, toX: number, toY: number, toZ: number, speedX: number, speedY: number, speedZ: number, collision: boolean): boolean;
@@ -59746,7 +59704,7 @@ declare function StartParticleFxLoopedOnEntityBone_2(effectName: string, entity:
59746
59704
 
59747
59705
  /**
59748
59706
  * NOTE: the [USE_PARTICLE_FX_ASSET](#\_0x6C38AF3693A69A91) needs to be called before EVERY StartNetworkedParticleFxNonLoopedAtCoord(....) call!
59749
- * List with lots of particle effects: https://vespura.com/fivem/particle-list/
59707
+ * List with lots of particle effects: https://gist.githubusercontent.com/alexguirre/af70f0122957f005a5c12bef2618a786/raw/899e93c5611ba58138c56873bb6f56664a776af4/Particles%2520Effects%2520Dump.txt
59750
59708
  * Note: Not all particles on this list are for non looped and vice versa, neither are all of them suited/meant to have SetParticleFxNonLoopedColour(....) called on them.
59751
59709
  * ```
59752
59710
  * NativeDB Added Parameter 12: BOOL p11
@@ -59755,7 +59713,7 @@ declare function StartParticleFxLoopedOnEntityBone_2(effectName: string, entity:
59755
59713
  declare function StartNetworkedParticleFxNonLoopedAtCoord(effectName: string, xPos: number, yPos: number, zPos: number, xRot: number, yRot: number, zRot: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
59756
59714
  /**
59757
59715
  * NOTE: the [USE_PARTICLE_FX_ASSET](#\_0x6C38AF3693A69A91) needs to be called before EVERY StartNetworkedParticleFxNonLoopedAtCoord(....) call!
59758
- * List with lots of particle effects: https://vespura.com/fivem/particle-list/
59716
+ * List with lots of particle effects: https://gist.githubusercontent.com/alexguirre/af70f0122957f005a5c12bef2618a786/raw/899e93c5611ba58138c56873bb6f56664a776af4/Particles%2520Effects%2520Dump.txt
59759
59717
  * Note: Not all particles on this list are for non looped and vice versa, neither are all of them suited/meant to have SetParticleFxNonLoopedColour(....) called on them.
59760
59718
  * ```
59761
59719
  * NativeDB Added Parameter 12: BOOL p11
@@ -63299,39 +63257,50 @@ declare function TextureDownloadRelease(p0: number): void;
63299
63257
  declare function TextureDownloadRequest(FilePath: string, Name: string, p3: boolean): [number, number];
63300
63258
 
63301
63259
  /**
63302
- * THEFEED_CLEAR_FROZEN_POST
63260
+ * Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
63303
63261
  */
63304
- declare function ThefeedClearFrozenPost(): void;
63262
+ declare function ThefeedAutoPostGametipsOff(): void;
63305
63263
  /**
63306
- * THEFEED_CLEAR_FROZEN_POST
63264
+ * Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
63307
63265
  */
63308
- declare function N_0x80fe4f3ab4e1b62a(): void;
63266
+ declare function N_0xaded7f5748acafe6(): void;
63309
63267
  /**
63310
- * THEFEED_CLEAR_FROZEN_POST
63268
+ * Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
63311
63269
  */
63312
- declare function ThefeedFlushPersistent(): void;
63313
-
63270
+ declare function ThefeedShowGtaoTooltips(): void;
63314
63271
  /**
63315
- * Displays "normal" notifications again after calling `_0x56C8B608CFD49854` (those that were drawn before calling this native too), though those will have a weird offset and stay on screen forever (tested with notifications created from same script).
63272
+ * Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
63316
63273
  */
63317
63274
  declare function ThefeedCommentTeleportPoolOff(): void;
63275
+
63318
63276
  /**
63319
- * Displays "normal" notifications again after calling `_0x56C8B608CFD49854` (those that were drawn before calling this native too), though those will have a weird offset and stay on screen forever (tested with notifications created from same script).
63277
+ * Enables loading screen tips to be be shown, blocks other kinds of notifications from being displayed.
63278
+ * Call [`THEFEED_AUTO_POST_GAMETIPS_OFF`](#\_0xADED7F5748ACAFE6) to undo this.
63320
63279
  */
63321
- declare function N_0xaded7f5748acafe6(): void;
63280
+ declare function ThefeedAutoPostGametipsOn(): void;
63322
63281
  /**
63323
- * Displays "normal" notifications again after calling `_0x56C8B608CFD49854` (those that were drawn before calling this native too), though those will have a weird offset and stay on screen forever (tested with notifications created from same script).
63282
+ * Enables loading screen tips to be be shown, blocks other kinds of notifications from being displayed.
63283
+ * Call [`THEFEED_AUTO_POST_GAMETIPS_OFF`](#\_0xADED7F5748ACAFE6) to undo this.
63324
63284
  */
63325
- declare function ThefeedShowGtaoTooltips(): void;
63326
-
63285
+ declare function N_0x56c8b608cfd49854(): void;
63327
63286
  /**
63328
- * Enables loading screen tips to be be shown (`_0x15CFA549788D35EF` and `_0x488043841BBE156F`), blocks other kinds of notifications from being displayed (at least from current script). Call `0xADED7F5748ACAFE6` to display those again.
63287
+ * Enables loading screen tips to be be shown, blocks other kinds of notifications from being displayed.
63288
+ * Call [`THEFEED_AUTO_POST_GAMETIPS_OFF`](#\_0xADED7F5748ACAFE6) to undo this.
63329
63289
  */
63330
63290
  declare function ThefeedCommentTeleportPoolOn(): void;
63291
+
63331
63292
  /**
63332
- * Enables loading screen tips to be be shown (`_0x15CFA549788D35EF` and `_0x488043841BBE156F`), blocks other kinds of notifications from being displayed (at least from current script). Call `0xADED7F5748ACAFE6` to display those again.
63293
+ * THEFEED_CLEAR_FROZEN_POST
63333
63294
  */
63334
- declare function N_0x56c8b608cfd49854(): void;
63295
+ declare function ThefeedClearFrozenPost(): void;
63296
+ /**
63297
+ * THEFEED_CLEAR_FROZEN_POST
63298
+ */
63299
+ declare function N_0x80fe4f3ab4e1b62a(): void;
63300
+ /**
63301
+ * THEFEED_CLEAR_FROZEN_POST
63302
+ */
63303
+ declare function ThefeedFlushPersistent(): void;
63335
63304
 
63336
63305
  /**
63337
63306
  * Stops loading screen tips shown by invoking either `0x488043841BBE156F` or `0x15CFA549788D35EF`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.20072-1",
3
+ "version": "2.0.20150-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {