@citizenfx/client 2.0.20072-1 → 2.0.20108-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 +204 -235
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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(
|
|
9218
|
+
declare function EndTextCommandThefeedPostMpticker(isImportant: boolean, showInBrief: boolean): number;
|
|
9216
9219
|
/**
|
|
9217
|
-
*
|
|
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(
|
|
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
|
-
*
|
|
9313
|
-
* 
|
|
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,
|
|
9333
|
+
declare function EndTextCommandThefeedPostTicker(isImportant: boolean, showInBrief: boolean): number;
|
|
9319
9334
|
/**
|
|
9320
|
-
*
|
|
9321
|
-
* 
|
|
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,
|
|
9350
|
+
declare function DrawNotification(isImportant: boolean, showInBrief: boolean): number;
|
|
9327
9351
|
|
|
9328
9352
|
/**
|
|
9329
|
-
*
|
|
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(
|
|
9358
|
+
declare function EndTextCommandThefeedPostTickerForced(isImportant: boolean, showInBrief: boolean): number;
|
|
9332
9359
|
/**
|
|
9333
|
-
*
|
|
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(
|
|
9365
|
+
declare function DrawNotification_2(isImportant: boolean, showInBrief: boolean): number;
|
|
9336
9366
|
|
|
9337
9367
|
/**
|
|
9338
|
-
*
|
|
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,
|
|
9373
|
+
declare function EndTextCommandThefeedPostTickerWithTokens(isImportant: boolean, showInBrief: boolean): number;
|
|
9341
9374
|
/**
|
|
9342
|
-
*
|
|
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,
|
|
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 [
|
|
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
|
|
15726
|
-
|
|
15765
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15727
15766
|
/**
|
|
15728
|
-
* A getter for [
|
|
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
|
|
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
|
-
*
|
|
20618
|
-
*
|
|
20619
|
-
*
|
|
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.
|
|
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.
|
|
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
|
-
*
|
|
39754
|
-
*
|
|
39755
|
-
*
|
|
39756
|
-
*
|
|
39757
|
-
*
|
|
39758
|
-
*
|
|
39759
|
-
*
|
|
39760
|
-
*
|
|
39761
|
-
*
|
|
39762
|
-
*
|
|
39763
|
-
*
|
|
39764
|
-
*
|
|
39765
|
-
*
|
|
39766
|
-
*
|
|
39767
|
-
*
|
|
39768
|
-
*
|
|
39769
|
-
*
|
|
39770
|
-
*
|
|
39771
|
-
*
|
|
39772
|
-
*
|
|
39773
|
-
*
|
|
39774
|
-
*
|
|
39775
|
-
*
|
|
39776
|
-
*
|
|
39777
|
-
*
|
|
39778
|
-
*
|
|
39779
|
-
*
|
|
39780
|
-
*
|
|
39781
|
-
*
|
|
39782
|
-
*
|
|
39783
|
-
*
|
|
39784
|
-
*
|
|
39785
|
-
*
|
|
39786
|
-
*
|
|
39787
|
-
*
|
|
39788
|
-
* SPEECH_PARAMS_SHOUTED
|
|
39789
|
-
* SPEECH_PARAMS_SHOUTED_CLEAR
|
|
39790
|
-
* SPEECH_PARAMS_SHOUTED_CRITICAL
|
|
39791
|
-
*
|
|
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
|
-
*
|
|
39804
|
-
*
|
|
39805
|
-
*
|
|
39806
|
-
*
|
|
39807
|
-
*
|
|
39808
|
-
*
|
|
39809
|
-
*
|
|
39810
|
-
*
|
|
39811
|
-
*
|
|
39812
|
-
*
|
|
39813
|
-
*
|
|
39814
|
-
*
|
|
39815
|
-
*
|
|
39816
|
-
*
|
|
39817
|
-
*
|
|
39818
|
-
*
|
|
39819
|
-
*
|
|
39820
|
-
*
|
|
39821
|
-
*
|
|
39822
|
-
*
|
|
39823
|
-
*
|
|
39824
|
-
*
|
|
39825
|
-
*
|
|
39826
|
-
*
|
|
39827
|
-
*
|
|
39828
|
-
*
|
|
39829
|
-
*
|
|
39830
|
-
*
|
|
39831
|
-
*
|
|
39832
|
-
*
|
|
39833
|
-
*
|
|
39834
|
-
*
|
|
39835
|
-
*
|
|
39836
|
-
*
|
|
39837
|
-
*
|
|
39838
|
-
* SPEECH_PARAMS_SHOUTED
|
|
39839
|
-
* SPEECH_PARAMS_SHOUTED_CLEAR
|
|
39840
|
-
* SPEECH_PARAMS_SHOUTED_CRITICAL
|
|
39841
|
-
*
|
|
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`](#\
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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://
|
|
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://
|
|
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://
|
|
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
|
-
*
|
|
63260
|
+
* Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
|
|
63303
63261
|
*/
|
|
63304
|
-
declare function
|
|
63262
|
+
declare function ThefeedAutoPostGametipsOff(): void;
|
|
63305
63263
|
/**
|
|
63306
|
-
*
|
|
63264
|
+
* Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
|
|
63307
63265
|
*/
|
|
63308
|
-
declare function
|
|
63266
|
+
declare function N_0xaded7f5748acafe6(): void;
|
|
63309
63267
|
/**
|
|
63310
|
-
*
|
|
63268
|
+
* Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
|
|
63311
63269
|
*/
|
|
63312
|
-
declare function
|
|
63313
|
-
|
|
63270
|
+
declare function ThefeedShowGtaoTooltips(): void;
|
|
63314
63271
|
/**
|
|
63315
|
-
*
|
|
63272
|
+
* Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#\_0x56C8B608CFD49854)
|
|
63316
63273
|
*/
|
|
63317
63274
|
declare function ThefeedCommentTeleportPoolOff(): void;
|
|
63275
|
+
|
|
63318
63276
|
/**
|
|
63319
|
-
*
|
|
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
|
|
63280
|
+
declare function ThefeedAutoPostGametipsOn(): void;
|
|
63322
63281
|
/**
|
|
63323
|
-
*
|
|
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
|
|
63326
|
-
|
|
63285
|
+
declare function N_0x56c8b608cfd49854(): void;
|
|
63327
63286
|
/**
|
|
63328
|
-
* Enables loading screen tips to be be shown
|
|
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
|
-
*
|
|
63293
|
+
* THEFEED_CLEAR_FROZEN_POST
|
|
63333
63294
|
*/
|
|
63334
|
-
declare function
|
|
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`
|