@citizenfx/client 2.0.7616-1 → 2.0.7628-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 +305 -182
  2. package/package.json +1 -1
@@ -9540,11 +9540,6 @@ declare function N_0x920d853f3e17f1da(interiorID: number, roomHashKey: string |
9540
9540
  */
9541
9541
  declare function ForceSnowPass(enabled: boolean): void;
9542
9542
 
9543
- /**
9544
- * Exits the game and downloads a fresh social club update on next restart.
9545
- */
9546
- declare function ForceSocialClubUpdate(): void;
9547
-
9548
9543
  /**
9549
9544
  * Doesn't actually return anything.
9550
9545
  */
@@ -22926,7 +22921,13 @@ declare function N_0x0626a247d2405330(): boolean;
22926
22921
  declare function IsRadioRetuning(): boolean;
22927
22922
 
22928
22923
  /**
22929
- * NativeDB Introduced: v2699
22924
+ * IS_RADIO_STATION_FAVOURITED
22925
+ * @return Returns whether a radio station is a favourite.
22926
+ */
22927
+ declare function IsRadioStationFavourited(radioStation: string): boolean;
22928
+ /**
22929
+ * IS_RADIO_STATION_FAVOURITED
22930
+ * @return Returns whether a radio station is a favourite.
22930
22931
  */
22931
22932
  declare function IsRadioStationVisible(radioStation: string): boolean;
22932
22933
 
@@ -23074,6 +23075,7 @@ declare function N_0xc912af078af19212(): boolean;
23074
23075
 
23075
23076
  /**
23076
23077
  * IS_SCRIPTED_CONVERSATION_LOADED
23078
+ * @return Returns true if the first batch of lines for the currently requested conversation have loaded successfully.
23077
23079
  */
23078
23080
  declare function IsScriptedConversationLoaded(): boolean;
23079
23081
 
@@ -23103,8 +23105,9 @@ declare function IsScriptedScenarioPedUsingConditionalAnim(ped: number, animDict
23103
23105
 
23104
23106
  /**
23105
23107
  * IS_SCRIPTED_SPEECH_PLAYING
23108
+ * @return Returns true if scripted speech is currently playing from the given ped.
23106
23109
  */
23107
- declare function IsScriptedSpeechPlaying(p0: number): boolean;
23110
+ declare function IsScriptedSpeechPlaying(ped: number): boolean;
23108
23111
 
23109
23112
  /**
23110
23113
  * NativeDB Introduced: v1493
@@ -23200,6 +23203,7 @@ declare function N_0x883d79c4071e18b3(): boolean;
23200
23203
 
23201
23204
  /**
23202
23205
  * IS_STREAM_PLAYING
23206
+ * @return Returns true if the script is currently playing a stream.
23203
23207
  */
23204
23208
  declare function IsStreamPlaying(): boolean;
23205
23209
 
@@ -23558,10 +23562,12 @@ declare function IsVehicleAttachedToTrailer(vehicle: number): boolean;
23558
23562
 
23559
23563
  /**
23560
23564
  * IS_VEHICLE_AUDIBLY_DAMAGED
23565
+ * @return Returns true if the vehicle has any audible damage effects applied to it.
23561
23566
  */
23562
23567
  declare function IsVehicleAudiblyDamaged(vehicle: number): boolean;
23563
23568
  /**
23564
23569
  * IS_VEHICLE_AUDIBLY_DAMAGED
23570
+ * @return Returns true if the vehicle has any audible damage effects applied to it.
23565
23571
  */
23566
23572
  declare function N_0x5db8010ee71fdef2(vehicle: number): boolean;
23567
23573
 
@@ -23737,17 +23743,23 @@ declare function N_0x3de51e9c80b116cf(vehicle: number): boolean;
23737
23743
  declare function IsVehiclePreviouslyOwnedByPlayer(vehicle: number): boolean;
23738
23744
 
23739
23745
  /**
23740
- * IS_VEHICLE_*
23746
+ * IS_VEHICLE_RADIO_ON
23741
23747
  * @param vehicle The vehicle to check
23742
- * @return Is the given vehicle's radio enabled
23748
+ * @return Returns true if the given vehicle's radio on
23743
23749
  */
23744
- declare function IsVehicleRadioEnabled(vehicle: number): boolean;
23750
+ declare function IsVehicleRadioOn(vehicle: number): boolean;
23745
23751
  /**
23746
- * IS_VEHICLE_*
23752
+ * IS_VEHICLE_RADIO_ON
23747
23753
  * @param vehicle The vehicle to check
23748
- * @return Is the given vehicle's radio enabled
23754
+ * @return Returns true if the given vehicle's radio on
23749
23755
  */
23750
23756
  declare function N_0x0be4be946463f917(vehicle: number): boolean;
23757
+ /**
23758
+ * IS_VEHICLE_RADIO_ON
23759
+ * @param vehicle The vehicle to check
23760
+ * @return Returns true if the given vehicle's radio on
23761
+ */
23762
+ declare function IsVehicleRadioEnabled(vehicle: number): boolean;
23751
23763
 
23752
23764
  /**
23753
23765
  * _IS_VEHICLE_ROCKET_BOOST_ACTIVE
@@ -24172,13 +24184,17 @@ declare function LeaveCursorMode(): void;
24172
24184
  declare function LinkNamedRendertarget(modelHash: string | number): void;
24173
24185
 
24174
24186
  /**
24175
- * L* (LINK_*?)
24187
+ * Links a static emitter to the given entity
24176
24188
  */
24177
24189
  declare function LinkStaticEmitterToEntity(emitterName: string, entity: number): void;
24178
24190
  /**
24179
- * L* (LINK_*?)
24191
+ * Links a static emitter to the given entity
24180
24192
  */
24181
24193
  declare function N_0x651d3228960d08af(emitterName: string, entity: number): void;
24194
+ /**
24195
+ * Links a static emitter to the given entity
24196
+ */
24197
+ declare function LinkStaticEmitterToEntity(emitterName: string, entity: number): void;
24182
24198
 
24183
24199
  /**
24184
24200
  * LOAD_ALL_OBJECTS_NOW
@@ -24292,18 +24308,14 @@ declare function LoadRopeData(ropeId: number, rope_preset: string): void;
24292
24308
  declare function LoadScene(x: number, y: number, z: number): void;
24293
24309
 
24294
24310
  /**
24295
- * Example:
24296
- * AUDIO::LOAD_STREAM("CAR_STEAL_1_PASSBY", "CAR_STEAL_1_SOUNDSET");
24297
- * All found occurrences in the b678d decompiled scripts: pastebin.com/3rma6w5w
24298
- * Stream names often ends with "_MASTER", "_SMALL" or "_STREAM". Also "_IN", "_OUT" and numbers.
24299
- * soundSet is often set to 0 in the scripts. These are common to end the soundSets: "_SOUNDS", "_SOUNDSET" and numbers.
24311
+ * Load in named stream. Optionally can specify a sound set which contains the sound specified by name.
24312
+ * Names for the streams can be found [here](https://gist.github.com/4mmonium/2bd2c9c54d6ca5cbdb7b156a82a3a85a), the list will be updated as more are found.
24313
+ * @param soundSet an optional sound set, default is null
24300
24314
  */
24301
24315
  declare function LoadStream(streamName: string, soundSet: string): boolean;
24302
24316
 
24303
24317
  /**
24304
- * Example:
24305
- * AUDIO::LOAD_STREAM_WITH_START_OFFSET("STASH_TOXIN_STREAM", 2400, "FBI_05_SOUNDS");
24306
- * Only called a few times in the scripts.
24318
+ * Load in named stream. Optionally can specify a sound set which contains the sound specified by name.
24307
24319
  */
24308
24320
  declare function LoadStreamWithStartOffset(streamName: string, startOffset: number, soundSet: string): boolean;
24309
24321
 
@@ -24420,23 +24432,36 @@ declare function LockMinimapAngle(angle: number): void;
24420
24432
  declare function LockMinimapPosition(x: number, y: number): void;
24421
24433
 
24422
24434
  /**
24423
- * Disables the radio station (hides it from the radio wheel).
24435
+ * This disables the radio station completely - it won't be selectable on the radio wheel or ever be heard coming from a vehicle/ambient emitter
24436
+ * ```
24424
24437
  * NativeDB Introduced: v1493
24438
+ * ```
24425
24439
  */
24426
24440
  declare function LockRadioStation(radioStationName: string, toggle: boolean): void;
24427
24441
  /**
24428
- * Disables the radio station (hides it from the radio wheel).
24442
+ * This disables the radio station completely - it won't be selectable on the radio wheel or ever be heard coming from a vehicle/ambient emitter
24443
+ * ```
24429
24444
  * NativeDB Introduced: v1493
24445
+ * ```
24430
24446
  */
24431
24447
  declare function N_0x94f2e83ead7e6b82(radioStationName: string, toggle: boolean): void;
24432
24448
  /**
24433
- * Disables the radio station (hides it from the radio wheel).
24449
+ * This disables the radio station completely - it won't be selectable on the radio wheel or ever be heard coming from a vehicle/ambient emitter
24450
+ * ```
24434
24451
  * NativeDB Introduced: v1493
24452
+ * ```
24435
24453
  */
24436
24454
  declare function SetRadioStationDisabled(radioStationName: string, toggle: boolean): void;
24455
+ /**
24456
+ * This disables the radio station completely - it won't be selectable on the radio wheel or ever be heard coming from a vehicle/ambient emitter
24457
+ * ```
24458
+ * NativeDB Introduced: v1493
24459
+ * ```
24460
+ */
24461
+ declare function LockRadioStation(radioStationName: string, toggle: boolean): void;
24437
24462
 
24438
24463
  /**
24439
- * NativeDB Introduced: v2372
24464
+ * LOCK_RADIO_STATION_TRACK_LIST
24440
24465
  */
24441
24466
  declare function LockRadioStationTrackList(radioStation: string, trackListName: string): void;
24442
24467
 
@@ -26232,11 +26257,6 @@ declare function N_0x44aca259d67651db(p1: number): number;
26232
26257
  */
26233
26258
  declare function N_0x450819d8cf90c416(): boolean;
26234
26259
 
26235
- /**
26236
- * 0x45A83257ED02D9BC
26237
- */
26238
- declare function N_0x45a83257ed02d9bc(): void;
26239
-
26240
26260
  /**
26241
26261
  * 0x45E816772E93A9DB
26242
26262
  */
@@ -27301,11 +27321,6 @@ declare function N_0x705a276ebff3133d(): boolean;
27301
27321
  */
27302
27322
  declare function N_0x70a382adec069dd3(coordX: number, coordY: number, coordZ: number): void;
27303
27323
 
27304
- /**
27305
- * 0x70B8EC8FC108A634
27306
- */
27307
- declare function N_0x70b8ec8fc108a634(p0: boolean, p1: number): void;
27308
-
27309
27324
  /**
27310
27325
  * NativeDB Added Parameter 1: char* p0
27311
27326
  * NativeDB Added Parameter 2: int* p1
@@ -27625,11 +27640,6 @@ declare function N_0x7e2bd3ef6c205f09(p0: string, p1: boolean): void;
27625
27640
  */
27626
27641
  declare function N_0x7e6946f68a38b74f(p0: number): boolean;
27627
27642
 
27628
- /**
27629
- * 0x7EC3C679D0E7E46B
27630
- */
27631
- declare function N_0x7ec3c679d0e7e46b(p0: number, p1: number, p2: number, p3: number): void;
27632
-
27633
27643
  /**
27634
27644
  * Possibly used to clear scenario points.
27635
27645
  * CLEAR_*
@@ -29103,11 +29113,6 @@ declare function N_0xbf22e0f32968e967(player: number, p1: boolean): void;
29103
29113
  */
29104
29114
  declare function N_0xbf371cd2b64212fd(p0: number): void;
29105
29115
 
29106
- /**
29107
- * 0xBF4DC1784BE94DFA
29108
- */
29109
- declare function N_0xbf4dc1784be94dfa(ped: number, p1: boolean, hash: string | number): void;
29110
-
29111
29116
  /**
29112
29117
  * 0xBF4F34A85CA2970C
29113
29118
  */
@@ -29522,11 +29527,6 @@ declare function N_0xd2049635deb9c375(): void;
29522
29527
  */
29523
29528
  declare function N_0xd29334ed1a256dbf(p0: number, p1: number, p2: number, p3: number, p4: number): void;
29524
29529
 
29525
- /**
29526
- * 0xD2DCCD8E16E20997
29527
- */
29528
- declare function N_0xd2dccd8e16e20997(p0: number): void;
29529
-
29530
29530
  /**
29531
29531
  * NETWORK_SESSION_IS_*
29532
29532
  */
@@ -34797,6 +34797,17 @@ declare function N_0x85a0ef54a500882c(p0: number): [boolean, number];
34797
34797
  */
34798
34798
  declare function NetworkGetGamerStatus(p0: number): [boolean, number];
34799
34799
 
34800
+ /**
34801
+ * Forces the "Are you sure you want to quit Grand Theft Auto V?" warning message (Same as when you Alt+F4) to show.
34802
+ * Doesn't work in singleplayer.
34803
+ */
34804
+ declare function NetworkQuitMpToDesktop(): void;
34805
+ /**
34806
+ * Forces the "Are you sure you want to quit Grand Theft Auto V?" warning message (Same as when you Alt+F4) to show.
34807
+ * Doesn't work in singleplayer.
34808
+ */
34809
+ declare function N_0x45a83257ed02d9bc(): void;
34810
+
34800
34811
  /**
34801
34812
  * NETWORK_RECEIVE_PLAYER_JOBSHARE_CASH
34802
34813
  */
@@ -36935,12 +36946,19 @@ declare function N_0xa76359fc80b2438e(scaling: number): void;
36935
36946
 
36936
36947
  /**
36937
36948
  * Sets audio flag "OverrideMicrophoneSettings"
36949
+ * Allows the script to ovverride the current microphone settings
36938
36950
  */
36939
36951
  declare function OverrideMicrophoneSettings(hash: string | number, toggle: boolean): void;
36940
36952
  /**
36941
36953
  * Sets audio flag "OverrideMicrophoneSettings"
36954
+ * Allows the script to ovverride the current microphone settings
36942
36955
  */
36943
36956
  declare function N_0x75773e11ba459e90(hash: string | number, toggle: boolean): void;
36957
+ /**
36958
+ * Sets audio flag "OverrideMicrophoneSettings"
36959
+ * Allows the script to ovverride the current microphone settings
36960
+ */
36961
+ declare function OverrideMicrophoneSettings(hash: string | number, toggle: boolean): void;
36944
36962
 
36945
36963
  /**
36946
36964
  * _OVERRIDE_MULTIPLAYER_CHAT_COLOUR
@@ -36984,13 +37002,15 @@ declare function OverridePedsCanStandOnTopFlag(flag: boolean): void;
36984
37002
  declare function OverridePedsUseDefaultDriveByClipset(flag: boolean): void;
36985
37003
 
36986
37004
  /**
36987
- * OVERRIDE_PLAYER_GROUND_MATERIAL
37005
+ * Sets the footstep tuning modes
37006
+ * @param scriptOverrides True to override with the given overridenMaterialHash, false to stop overriding
36988
37007
  */
36989
- declare function OverridePlayerGroundMaterial(hash: string | number, toggle: boolean): void;
37008
+ declare function OverridePlayerGroundMaterial(overriddenMaterialHash: string | number, scriptOverrides: boolean): void;
36990
37009
  /**
36991
- * OVERRIDE_PLAYER_GROUND_MATERIAL
37010
+ * Sets the footstep tuning modes
37011
+ * @param scriptOverrides True to override with the given overridenMaterialHash, false to stop overriding
36992
37012
  */
36993
- declare function N_0xd2cc78cd3d0b50f9(hash: string | number, toggle: boolean): void;
37013
+ declare function N_0xd2cc78cd3d0b50f9(overriddenMaterialHash: string | number, scriptOverrides: boolean): void;
36994
37014
 
36995
37015
  /**
36996
37016
  * Replaces the `popgroups` (CPopGroupList) meta file with the file in the specified path.
@@ -37016,13 +37036,16 @@ declare function OverrideSaveHouse(p0: boolean, p1: number, p2: number, p3: numb
37016
37036
 
37017
37037
  /**
37018
37038
  * This native enables the audio flag "TrevorRageIsOverridden" and sets the voice effect to `voiceEffect`
37039
+ * To clear the override use [RESET_TREVOR_RAGE](#\_0xE78503B10C4314E0)
37019
37040
  */
37020
37041
  declare function OverrideTrevorRage(voiceEffect: string): void;
37021
37042
 
37022
37043
  /**
37023
- * OVERRIDE_UNDERWATER_STREAM
37044
+ * This native allows a scripter to override the current underwater stream.
37045
+ * It needs to be called before going into the water
37046
+ * It needs to also be called with OVERRIDE_UNDERWATER_STREAM("", false) in order to stop overriding.
37024
37047
  */
37025
- declare function OverrideUnderwaterStream(p1: boolean): number;
37048
+ declare function OverrideUnderwaterStream(streamName: string, override: boolean): void;
37026
37049
 
37027
37050
  /**
37028
37051
  * Overrides the vehicle's horn hash.
@@ -37328,9 +37351,9 @@ declare function N_0xcdca26e80faecb8f(): void;
37328
37351
  declare function PausePlaybackRecordedVehicle(vehicle: number): void;
37329
37352
 
37330
37353
  /**
37331
- * PAUSE_SCRIPTED_CONVERSATION
37354
+ * To resume the conversation use [RESTART_SCRIPTED_CONVERSATION](#\_0x9AEB285D1818C9AC)
37332
37355
  */
37333
- declare function PauseScriptedConversation(p0: boolean): void;
37356
+ declare function PauseScriptedConversation(finishCurrentLine: boolean): void;
37334
37357
 
37335
37358
  /**
37336
37359
  * PED_HAS_USE_SCENARIO_TASK
@@ -37376,14 +37399,17 @@ declare function N_0xd76eeef746057fd6(object: number): boolean;
37376
37399
 
37377
37400
  /**
37378
37401
  * PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE
37402
+ * @param speechParam See [`PLAY_PED_AMBIENT_SPEECH_NATIVE`](#\_0x8E04FEDD28D42462) for params
37379
37403
  */
37380
37404
  declare function PlayAmbientSpeechFromPositionNative(speechName: string, voiceName: string, x: number, y: number, z: number, speechParam: string): void;
37381
37405
  /**
37382
37406
  * PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE
37407
+ * @param speechParam See [`PLAY_PED_AMBIENT_SPEECH_NATIVE`](#\_0x8E04FEDD28D42462) for params
37383
37408
  */
37384
37409
  declare function N_0xed640017ed337e45(speechName: string, voiceName: string, x: number, y: number, z: number, speechParam: string): void;
37385
37410
  /**
37386
37411
  * PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE
37412
+ * @param speechParam See [`PLAY_PED_AMBIENT_SPEECH_NATIVE`](#\_0x8E04FEDD28D42462) for params
37387
37413
  */
37388
37414
  declare function PlayAmbientSpeechAtCoords(speechName: string, voiceName: string, x: number, y: number, z: number, speechParam: string): void;
37389
37415
 
@@ -37393,17 +37419,31 @@ declare function PlayAmbientSpeechAtCoords(speechName: string, voiceName: string
37393
37419
  declare function PlayAnimOnRunningScenario(ped: number, animDict: string, animName: string): void;
37394
37420
 
37395
37421
  /**
37396
- * Plays sounds from a ped with chop model. For example it used to play bark or sniff sounds. p1 is always 3 or 4294967295 in decompiled scripts. By a quick disassembling I can assume that this arg is unused.
37397
- * This native is works only when you call it on the ped with right model (ac_chop only ?)
37398
- * Speech Name can be: CHOP_SNIFF_SEQ CHOP_WHINE CHOP_LICKS_MOUTH CHOP_PANT bark GROWL SNARL BARK_SEQ
37422
+ * cpp
37423
+ * enum eAudAnimalType {
37424
+ * AUD_ANIMAL_NONE = -1,
37425
+ * AUD_ANIMAL_BOAR,
37426
+ * AUD_ANIMAL_CHICKEN,
37427
+ * AUD_ANIMAL_DOG,
37428
+ * AUD_ANIMAL_DOG_ROTTWEILER,
37429
+ * AUD_ANIMAL_HORSE,
37430
+ * AUD_NUM_ANIMALS
37431
+ * }
37399
37432
  */
37400
- declare function PlayAnimalVocalization(pedHandle: number, p1: number, speechName: string): void;
37433
+ declare function PlayAnimalVocalization(pedHandle: number, animalType: number, speechName: string): void;
37401
37434
  /**
37402
- * Plays sounds from a ped with chop model. For example it used to play bark or sniff sounds. p1 is always 3 or 4294967295 in decompiled scripts. By a quick disassembling I can assume that this arg is unused.
37403
- * This native is works only when you call it on the ped with right model (ac_chop only ?)
37404
- * Speech Name can be: CHOP_SNIFF_SEQ CHOP_WHINE CHOP_LICKS_MOUTH CHOP_PANT bark GROWL SNARL BARK_SEQ
37435
+ * cpp
37436
+ * enum eAudAnimalType {
37437
+ * AUD_ANIMAL_NONE = -1,
37438
+ * AUD_ANIMAL_BOAR,
37439
+ * AUD_ANIMAL_CHICKEN,
37440
+ * AUD_ANIMAL_DOG,
37441
+ * AUD_ANIMAL_DOG_ROTTWEILER,
37442
+ * AUD_ANIMAL_HORSE,
37443
+ * AUD_NUM_ANIMALS
37444
+ * }
37405
37445
  */
37406
- declare function N_0xee066c7006c49c0a(pedHandle: number, p1: number, speechName: string): void;
37446
+ declare function N_0xee066c7006c49c0a(pedHandle: number, animalType: number, speechName: string): void;
37407
37447
 
37408
37448
  /**
37409
37449
  * NativeDB Introduced: v1290
@@ -37421,20 +37461,18 @@ declare function PlayBinkMovie(binkMovie: number): void;
37421
37461
  declare function PlayCamAnim(cam: number, animName: string, animDictionary: string, x: number, y: number, z: number, xRot: number, yRot: number, zRot: number, p9: boolean, p10: number): boolean;
37422
37462
 
37423
37463
  /**
37424
- * Only call found in the b617d scripts:
37425
- * AUDIO::PLAY_DEFERRED_SOUND_FRONTEND("BACK", "HUD_FREEMODE_SOUNDSET");
37464
+ * PLAY_DEFERRED_SOUND_FRONTEND
37426
37465
  */
37427
37466
  declare function PlayDeferredSoundFrontend(soundName: string, soundsetName: string): void;
37428
37467
  /**
37429
- * Only call found in the b617d scripts:
37430
- * AUDIO::PLAY_DEFERRED_SOUND_FRONTEND("BACK", "HUD_FREEMODE_SOUNDSET");
37468
+ * PLAY_DEFERRED_SOUND_FRONTEND
37431
37469
  */
37432
37470
  declare function N_0xcada5a0d0702381e(soundName: string, soundsetName: string): void;
37433
37471
 
37434
37472
  /**
37435
37473
  * PLAY_END_CREDITS_MUSIC
37436
37474
  */
37437
- declare function PlayEndCreditsMusic(play: boolean): void;
37475
+ declare function PlayEndCreditsMusic(bActive: boolean): void;
37438
37476
 
37439
37477
  /**
37440
37478
  * ```
@@ -37466,54 +37504,51 @@ declare function PlayFacialAnim(ped: number, animName: string, animDict: string)
37466
37504
  declare function PlayMissionCompleteAudio(audioName: string): void;
37467
37505
 
37468
37506
  /**
37469
- * **Warning**:
37470
- * Parameters are wrong after painID. To preserve C-Sharp backwards compatibility, we can't add or remove parameters.
37471
- * Correct parameters should be:\
37472
- * `PLAY_PAIN(Ped ped, int painID, float p3, bool createNetEvent)`
37473
- * Check the *examples* section for the correct usage of this native.
37474
- * **Description:**
37475
- * Plays a pain sound. A maximum of 33 pain IDs are allowed.\
37476
- * `createNetEvent` creates a `CPedPlayPainEvent` when set to true.
37477
- * Below is a list of all the pain IDs (Asterisks indicate that sounds can play in a Low, Medium or High fashion), for example: `PAIN_LOW_GENERIC`. The corresponding pain strings belong to the game exe.
37478
- * **Pain IDs:**
37479
- * * 0: PAIN_\*\_GENERIC (Low, Medium, High)
37480
- * * 1: UNUSED
37481
- * * 2: UNUSED
37482
- * * 3: SCREAM_PANIC (Nothing can be heard)
37483
- * * 4: SCREAM_PANIC_SHORT
37484
- * * 5: SCREAM_SCARED
37485
- * * 6: SCREAM_SHOCKED
37486
- * * 7: SCREAM_TERROR
37487
- * * 8: ON_FIRE
37488
- * * 9: UNUSED
37489
- * * 10: UNUSED
37490
- * * 11: INHALE (Nothing can be heard)
37491
- * * 12: EXHALE (Nothing can be heard)
37492
- * * 13: DEATH_HIGH_SHORT
37493
- * * 14: UNUSED
37494
- * * 15: PAIN_HIGH_GENERIC
37495
- * * 16: PAIN_\*\_GENERIC (Low, Medium, High)
37496
- * * 17: PAIN_SHOVE
37497
- * * 18: PAIN_WHEEZE
37498
- * * 19: COUGH
37499
- * * 20: PAIN_TAZER
37500
- * * 21: UNUSED
37501
- * * 22: CLIMB_LARGE (Nothing can be heard)
37502
- * * 23: CLIMB_SMALL (Nothing can be heard)
37503
- * * 24: JUMP (Nothing can be heard)
37504
- * * 25: COWER
37505
- * * 26: WHIMPER
37506
- * * 27: DYING_MOAN
37507
- * * 28: EXHALE_CYCLING (Nothing can be heard)
37508
- * * 29: PAIN_RAPIDS (Nothing can be heard)
37509
- * * 30: SNEEZE
37510
- * * 31: MELEE_SMALL_GRUNT (Nothing can be heard)
37511
- * * 32: MELEE_LARGE_GRUNT (Nothing can be heard)
37512
- * * 33: PAIN_\*\_GENERIC (Low, Medium, High)
37507
+ * This native had a 4th parameter added in newer game builds
37508
+ * `syncOverNetwork` creates a `CPedPlayPainEvent` when set to true, by default this variable is false.
37509
+ * ```cpp
37510
+ * enum eAudDamageReason {
37511
+ * AUD_DAMAGE_REASON_DEFAULT = 0,
37512
+ * AUD_DAMAGE_REASON_FALLING = 1,
37513
+ * AUD_DAMAGE_REASON_SUPER_FALLING = 2,
37514
+ * AUD_DAMAGE_REASON_SCREAM_PANIC = 3,
37515
+ * AUD_DAMAGE_REASON_SCREAM_PANIC_SHORT = 4,
37516
+ * AUD_DAMAGE_REASON_SCREAM_SCARED = 5,
37517
+ * AUD_DAMAGE_REASON_SCREAM_SHOCKED = 6,
37518
+ * AUD_DAMAGE_REASON_SCREAM_TERROR = 7,
37519
+ * AUD_DAMAGE_REASON_ON_FIRE = 8,
37520
+ * AUD_DAMAGE_REASON_DROWNING = 9,
37521
+ * AUD_DAMAGE_REASON_SURFACE_DROWNING = 10, // drowning on the surface of water, after we time out
37522
+ * AUD_DAMAGE_REASON_INHALE = 11,
37523
+ * AUD_DAMAGE_REASON_EXHALE = 12,
37524
+ * AUD_DAMAGE_REASON_POST_FALL_GRUNT = 13,
37525
+ * AUD_DAMAGE_REASON_ENTERING_RAGDOLL_DEATH = 14,
37526
+ * AUD_DAMAGE_REASON_EXPLOSION = 15,
37527
+ * AUD_DAMAGE_REASON_MELEE = 16,
37528
+ * AUD_DAMAGE_REASON_SHOVE = 17,
37529
+ * AUD_DAMAGE_REASON_WHEEZE = 18,
37530
+ * AUD_DAMAGE_REASON_COUGH = 19,
37531
+ * AUD_DAMAGE_REASON_TAZER = 20,
37532
+ * AUD_DAMAGE_REASON_EXHAUSTION = 21,
37533
+ * AUD_DAMAGE_REASON_CLIMB_LARGE = 22,
37534
+ * AUD_DAMAGE_REASON_CLIMB_SMALL = 23,
37535
+ * AUD_DAMAGE_REASON_JUMP = 24,
37536
+ * AUD_DAMAGE_REASON_COWER = 25,
37537
+ * AUD_DAMAGE_REASON_WHIMPER = 26,
37538
+ * AUD_DAMAGE_REASON_DYING_MOAN = 27,
37539
+ * AUD_DAMAGE_REASON_CYCLING_EXHALE = 28,
37540
+ * AUD_DAMAGE_REASON_PAIN_RAPIDS = 29,
37541
+ * AUD_DAMAGE_REASON_SNEEZE = 30,
37542
+ * AUD_DAMAGE_REASON_MELEE_SMALL_GRUNT = 31,
37543
+ * AUD_DAMAGE_REASON_MELEE_LARGE_GRUNT = 32,
37544
+ * AUD_DAMAGE_REASON_POST_FALL_GRUNT_LOW = 33
37545
+ * }
37546
+ * ```
37513
37547
  * @param ped The ped entity.
37514
- * @param painID The pain id, max allowed id is 33.
37548
+ * @param damageReason The damage reason/type, refer to eAudDamageReason
37549
+ * @param rawDamage Damage value, defaults to 0.0
37515
37550
  */
37516
- declare function PlayPain(ped: number, painID: number, p1: number): void;
37551
+ declare function PlayPain(ped: number, damageReason: number, rawDamage: number): void;
37517
37552
 
37518
37553
  /**
37519
37554
  * See [`PLAY_PED_AMBIENT_SPEECH_NATIVE`](#\_0x8E04FEDD28D42462) for parameter specifications.
@@ -37684,39 +37719,30 @@ declare function PlaySoundFromEntity(soundId: number, audioName: string, entity:
37684
37719
  declare function PlaySoundFrontend(soundId: number, audioName: string, audioRef: string, p3: boolean): void;
37685
37720
 
37686
37721
  /**
37687
- * Used with AUDIO::LOAD_STREAM
37688
- * Example from finale_heist2b.c4:
37689
- * TASK::TASK_SYNCHRONIZED_SCENE(l_4C8[2 -- [[14]] ], l_4C8[2 -- [[14]] ]._f7, l_30A, "push_out_vault_l", 4.0, -1.5, 5, 713, 4.0, 0);
37690
- * PED::SET_SYNCHRONIZED_SCENE_PHASE(l_4C8[2 -- [[14]] ]._f7, 0.0);
37691
- * PED::_2208438012482A1A(l_4C8[2 -- [[14]] ], 0, 0);
37692
- * PED::SET_PED_COMBAT_ATTRIBUTES(l_4C8[2 -- [[14]] ], 38, 1);
37693
- * PED::SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(l_4C8[2 -- [[14]] ], 1);
37694
- * if (AUDIO::LOAD_STREAM("Gold_Cart_Push_Anim_01", "BIG_SCORE_3B_SOUNDS")) {
37695
- * AUDIO::PLAY_STREAM_FROM_OBJECT(l_36F[0 -- [[1]] ]);
37696
- * }
37722
+ * Plays a preloaded stream back from the specified object.
37697
37723
  */
37698
37724
  declare function PlayStreamFromObject(object: number): void;
37699
37725
 
37700
37726
  /**
37701
- * PLAY_STREAM_FROM_PED
37727
+ * Plays a preloaded stream back from the specified ped.
37702
37728
  */
37703
37729
  declare function PlayStreamFromPed(ped: number): void;
37704
37730
  /**
37705
- * PLAY_STREAM_FROM_PED
37731
+ * Plays a preloaded stream back from the specified ped.
37706
37732
  */
37707
37733
  declare function N_0x89049dd63c08b5d1(ped: number): void;
37708
37734
 
37709
37735
  /**
37710
- * PLAY_STREAM_FROM_POSITION
37736
+ * Plays a preloaded stream back from the specified Vector3.
37711
37737
  */
37712
37738
  declare function PlayStreamFromPosition(x: number, y: number, z: number): void;
37713
37739
  /**
37714
- * PLAY_STREAM_FROM_POSITION
37740
+ * Plays a preloaded stream back from the specified Vector3.
37715
37741
  */
37716
37742
  declare function SpecialFrontendEqual(x: number, y: number, z: number): void;
37717
37743
 
37718
37744
  /**
37719
- * PLAY_STREAM_FROM_VEHICLE
37745
+ * Plays a preloaded stream back from the specified ped vehicle
37720
37746
  */
37721
37747
  declare function PlayStreamFromVehicle(vehicle: number): void;
37722
37748
 
@@ -37728,7 +37754,7 @@ declare function PlayStreamFrontend(): void;
37728
37754
  /**
37729
37755
  * PLAY_SYNCHRONIZED_AUDIO_EVENT
37730
37756
  */
37731
- declare function PlaySynchronizedAudioEvent(p0: number): boolean;
37757
+ declare function PlaySynchronizedAudioEvent(sceneId: number): boolean;
37732
37758
 
37733
37759
  /**
37734
37760
  * ```
@@ -38517,23 +38543,42 @@ declare function PreloadCloudHat(name: string): void;
38517
38543
  declare function N_0x11b56fbbf7224868(name: string): void;
38518
38544
 
38519
38545
  /**
38520
- * PRELOAD_SCRIPT_CONVERSATION
38546
+ * Similar to [START_SCRIPT_CONVERSATION](#\_0x6B17C62C9635D2DC), except that is starts the conversation off paused.
38547
+ * A scripter can then kick off the conversation by calling [START_PRELOADED_CONVERSATION](#\_0x23641AFE870AF385).
38548
+ * If they want to check that the conversation is done preloading, they can use [GET_IS_PRELOADED_CONVERSATION_READY](#\_0xE73364DB90778FFA)
38549
+ * @param addToBriefScreen Defaults to true
38550
+ * @param cloneConversation Defaults to false
38551
+ * @param interruptible Defaults to true
38521
38552
  */
38522
- declare function PreloadScriptConversation(p0: boolean, p1: boolean, p2: boolean, p3: boolean): void;
38553
+ declare function PreloadScriptConversation(displaySubtitles: boolean, addToBriefScreen: boolean, cloneConversation: boolean, interruptible: boolean): void;
38523
38554
 
38524
38555
  /**
38525
38556
  * PRELOAD_SCRIPT_PHONE_CONVERSATION
38557
+ * @param addToBriefScreen Defaults to true
38526
38558
  */
38527
- declare function PreloadScriptPhoneConversation(p0: boolean, p1: boolean): void;
38559
+ declare function PreloadScriptPhoneConversation(displaySubtitles: boolean, addToBriefScreen: boolean): void;
38528
38560
 
38529
38561
  /**
38562
+ * Request that we preload the required audio bank for a given vehicle model.
38563
+ * ```
38530
38564
  * NativeDB Introduced: v1180
38565
+ * ```
38531
38566
  */
38532
- declare function PreloadVehicleAudio(model: string | number): void;
38567
+ declare function PreloadVehicleAudioBank(model: string | number): void;
38533
38568
  /**
38569
+ * Request that we preload the required audio bank for a given vehicle model.
38570
+ * ```
38534
38571
  * NativeDB Introduced: v1180
38572
+ * ```
38535
38573
  */
38536
38574
  declare function N_0xca4cea6ae0000a7e(model: string | number): void;
38575
+ /**
38576
+ * Request that we preload the required audio bank for a given vehicle model.
38577
+ * ```
38578
+ * NativeDB Introduced: v1180
38579
+ * ```
38580
+ */
38581
+ declare function PreloadVehicleAudio(model: string | number): void;
38537
38582
 
38538
38583
  /**
38539
38584
  * PRELOAD_VEHICLE_MOD
@@ -38542,20 +38587,23 @@ declare function N_0xca4cea6ae0000a7e(model: string | number): void;
38542
38587
  declare function PreloadVehicleMod(p0: number, modType: number, p2: number): void;
38543
38588
 
38544
38589
  /**
38545
- * Example:
38546
- * bool prepareAlarm = AUDIO::PREPARE_ALARM("PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS");
38590
+ * Prepares any banks required to play the given alarm
38591
+ * @return Returns true if the alarm was successfully prepared
38547
38592
  */
38548
38593
  declare function PrepareAlarm(alarmName: string): boolean;
38549
38594
 
38550
38595
  /**
38551
- * All music event names found in the b617d scripts: pastebin.com/GnYt0R3P
38596
+ * Prepares the specified music event. Preparing it in advance will preload any required data so that it's ready to play immediately.
38597
+ * @return Returns true if the event is prepared, false otherwise
38552
38598
  */
38553
38599
  declare function PrepareMusicEvent(eventName: string): boolean;
38554
38600
 
38555
38601
  /**
38556
38602
  * PREPARE_SYNCHRONIZED_AUDIO_EVENT
38603
+ * @param audioEvent The audio event name.
38604
+ * @param startOffsetMs Unused parameter (since v323)
38557
38605
  */
38558
- declare function PrepareSynchronizedAudioEvent(p0: string, p1: number): number;
38606
+ declare function PrepareSynchronizedAudioEvent(audioEvent: string, startOffsetMs: number): boolean;
38559
38607
 
38560
38608
  /**
38561
38609
  * PREPARE_SYNCHRONIZED_AUDIO_EVENT_FOR_SCENE
@@ -38684,6 +38732,19 @@ declare function QueueMissionRepeatSave(): boolean;
38684
38732
  */
38685
38733
  declare function N_0x44a0bdc559b35f6e(): boolean;
38686
38734
 
38735
+ /**
38736
+ * Quits the game.
38737
+ */
38738
+ declare function QuitGame(): void;
38739
+ /**
38740
+ * Quits the game.
38741
+ */
38742
+ declare function N_0xeb6891f03362fb12(): void;
38743
+ /**
38744
+ * Quits the game.
38745
+ */
38746
+ declare function ForceSocialClubUpdate(): void;
38747
+
38687
38748
  /**
38688
38749
  * Add a BLIP_GALLERY at the specific coordinate. Used in fm_maintain_transition_players to display race track points.
38689
38750
  */
@@ -39317,13 +39378,15 @@ declare function RemoveDoorFromSystem(doorHash: string | number): void;
39317
39378
  declare function RemoveDryVolume(handle: number): void;
39318
39379
 
39319
39380
  /**
39320
- * REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP
39381
+ * Removes an entity from its current mix group.
39382
+ * @param fadeOut Defaults to 0.0
39321
39383
  */
39322
- declare function RemoveEntityFromAudioMixGroup(entity: number, p1: number): void;
39384
+ declare function RemoveEntityFromAudioMixGroup(entity: number, fadeOut: number): void;
39323
39385
  /**
39324
- * REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP
39386
+ * Removes an entity from its current mix group.
39387
+ * @param fadeOut Defaults to 0.0
39325
39388
  */
39326
- declare function N_0x18eb48cfc41f2ea0(entity: number, p1: number): void;
39389
+ declare function N_0x18eb48cfc41f2ea0(entity: number, fadeOut: number): void;
39327
39390
 
39328
39391
  /**
39329
39392
  * REMOVE_FORCED_OBJECT
@@ -39509,23 +39572,29 @@ declare function RemovePopMultiplierSphere(id: number, p1: boolean): void;
39509
39572
  declare function N_0xe6869becdd8f2403(id: number, p1: boolean): void;
39510
39573
 
39511
39574
  /**
39575
+ * ```
39512
39576
  * Found in the b617d scripts, duplicates removed:
39513
39577
  * AUDIO::_B4BBFD9CD8B3922B("V_CARSHOWROOM_PS_WINDOW_UNBROKEN");
39514
39578
  * AUDIO::_B4BBFD9CD8B3922B("V_CIA_PS_WINDOW_UNBROKEN");
39515
39579
  * AUDIO::_B4BBFD9CD8B3922B("V_DLC_HEIST_APARTMENT_DOOR_CLOSED");
39516
39580
  * AUDIO::_B4BBFD9CD8B3922B("V_FINALEBANK_PS_VAULT_INTACT");
39517
39581
  * AUDIO::_B4BBFD9CD8B3922B("V_MICHAEL_PS_BATHROOM_WITH_WINDOW");
39582
+ * ```
39583
+ * For events like cars driving through windows, allows script to unocclude that window
39518
39584
  */
39519
- declare function RemovePortalSettingsOverride(p0: string): void;
39585
+ declare function RemovePortalSettingsOverride(portalSettingsName: string): void;
39520
39586
  /**
39587
+ * ```
39521
39588
  * Found in the b617d scripts, duplicates removed:
39522
39589
  * AUDIO::_B4BBFD9CD8B3922B("V_CARSHOWROOM_PS_WINDOW_UNBROKEN");
39523
39590
  * AUDIO::_B4BBFD9CD8B3922B("V_CIA_PS_WINDOW_UNBROKEN");
39524
39591
  * AUDIO::_B4BBFD9CD8B3922B("V_DLC_HEIST_APARTMENT_DOOR_CLOSED");
39525
39592
  * AUDIO::_B4BBFD9CD8B3922B("V_FINALEBANK_PS_VAULT_INTACT");
39526
39593
  * AUDIO::_B4BBFD9CD8B3922B("V_MICHAEL_PS_BATHROOM_WITH_WINDOW");
39594
+ * ```
39595
+ * For events like cars driving through windows, allows script to unocclude that window
39527
39596
  */
39528
- declare function N_0xb4bbfd9cd8b3922b(p0: string): void;
39597
+ declare function N_0xb4bbfd9cd8b3922b(portalSettingsName: string): void;
39529
39598
 
39530
39599
  /**
39531
39600
  * REMOVE_PTFX_ASSET
@@ -39918,12 +39987,11 @@ declare function RequestAdditionalTextForDlc(gxt: string, slot: number): void;
39918
39987
  declare function RequestAdditionalText_2(gxt: string, slot: number): void;
39919
39988
 
39920
39989
  /**
39921
- * All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/XZ1tmGEz
39922
- * ```
39923
- * ```
39924
- * NativeDB Added Parameter 3: Any p2
39990
+ * This native is marked as deprecated internally, please use [REQUEST_SCRIPT_AUDIO_BANK](#\_0x2F844A8B08D76685)
39991
+ * This native has a new argument on newer game builds:
39992
+ * * **playerBits**:
39925
39993
  */
39926
- declare function RequestAmbientAudioBank(p0: string, p1: boolean): boolean;
39994
+ declare function RequestAmbientAudioBank(bankName: string, bOverNetwork: boolean): boolean;
39927
39995
 
39928
39996
  /**
39929
39997
  * REQUEST_ANIM_DICT
@@ -40009,12 +40077,11 @@ declare function RequestMenuPedModel(model: string | number): void;
40009
40077
  declare function N_0xa0261aef7acfc51e(model: string | number): void;
40010
40078
 
40011
40079
  /**
40012
- * All occurrences and usages found in b617d: pastebin.com/NzZZ2Tmm
40013
- * ```
40014
- * ```
40015
- * NativeDB Added Parameter 3: Any p2
40080
+ * This native is marked as deprecated internally, please use [REQUEST_SCRIPT_AUDIO_BANK](#\_0x2F844A8B08D76685)
40081
+ * This native has a new argument on newer game builds:
40082
+ * * **playerBits**:
40016
40083
  */
40017
- declare function RequestMissionAudioBank(p0: string, p1: boolean): boolean;
40084
+ declare function RequestMissionAudioBank(bankName: string, bOverNetwork: boolean): boolean;
40018
40085
 
40019
40086
  /**
40020
40087
  * Request a model (archetype) to be loaded for use by the current script. Use SET_MODEL_AS_NO_LONGER_NEEDED when done using the model in script.
@@ -40185,12 +40252,11 @@ declare function RequestHudScaleform(hudComponent: number): void;
40185
40252
  declare function RequestScript(scriptName: string): void;
40186
40253
 
40187
40254
  /**
40188
- * All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/AkmDAVn6
40189
- * ```
40190
- * ```
40191
- * NativeDB Added Parameter 3: int p2
40255
+ * This native has a new argument on newer game builds:
40256
+ * * **playerBits**:
40257
+ * @return Requests and returns true/false if the script audio bank has laoded
40192
40258
  */
40193
- declare function RequestScriptAudioBank(p0: string, p1: boolean): boolean;
40259
+ declare function RequestScriptAudioBank(bankName: string, bOverNetwork: boolean): boolean;
40194
40260
 
40195
40261
  /**
40196
40262
  * formerly _REQUEST_STREAMED_SCRIPT
@@ -40231,6 +40297,19 @@ declare function RequestTaskMoveNetworkStateTransition(ped: number, name: string
40231
40297
  */
40232
40298
  declare function N_0xd01015c7316ae176(ped: number, name: string): boolean;
40233
40299
 
40300
+ /**
40301
+ * Loads the tennis vocalization banks into a couple animal slots.
40302
+ */
40303
+ declare function RequestTennisBanks(opponentPed: number): void;
40304
+ /**
40305
+ * Loads the tennis vocalization banks into a couple animal slots.
40306
+ */
40307
+ declare function N_0x4ada3f19be4a6047(opponentPed: number): void;
40308
+ /**
40309
+ * Loads the tennis vocalization banks into a couple animal slots.
40310
+ */
40311
+ declare function SetPedTalk(opponentPed: number): void;
40312
+
40234
40313
  /**
40235
40314
  * REQUEST_VEHICLE_ASSET(GET_HASH_KEY(cargobob3), 3);
40236
40315
  * vehicle found that have asset's:
@@ -40582,7 +40661,7 @@ declare function N_0xe3a3db414a373dab(): void;
40582
40661
  declare function ScreenDrawPositionEnd(): void;
40583
40662
 
40584
40663
  /**
40585
- * RESET_TREVOR_RAGE
40664
+ * Clears the override set by [OVERRIDE_TREVOR_RAGE](#\_0x13AD665062541A7E)
40586
40665
  */
40587
40666
  declare function ResetTrevorRage(): void;
40588
40667
 
@@ -40593,6 +40672,15 @@ declare function ResetTrevorRage(): void;
40593
40672
  */
40594
40673
  declare function ResetVehiclePedsCanStandOnTopFlag(vehicle: number): void;
40595
40674
 
40675
+ /**
40676
+ * Resets the override for [SET_VEHICLE_STARTUP_REV_SOUND](#\_0xF1F8157B8C3F171C)
40677
+ */
40678
+ declare function ResetVehicleStartupRevSound(vehicle: number): void;
40679
+ /**
40680
+ * Resets the override for [SET_VEHICLE_STARTUP_REV_SOUND](#\_0xF1F8157B8C3F171C)
40681
+ */
40682
+ declare function N_0xd2dccd8e16e20997(vehicle: number): void;
40683
+
40596
40684
  /**
40597
40685
  * The inner function has a switch on the second parameter. It's the stuck timer index.
40598
40686
  * Here's some pseudo code I wrote for the inner function:
@@ -40652,16 +40740,23 @@ declare function ResetWorldBoundaryForPlayer(): void;
40652
40740
  declare function RestartFrontendMenu(menuHash: string | number, p1: number): void;
40653
40741
 
40654
40742
  /**
40655
- * In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows `Disconnecting from GTA Online` HUD and then quits the game.
40743
+ * In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows the `Disconnecting from GTA Online` warning screen message and quits the game.
40744
+ * After quitting, the game process is started again (as the name implies).
40656
40745
  */
40657
40746
  declare function RestartGame(): void;
40658
40747
  /**
40659
- * In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows `Disconnecting from GTA Online` HUD and then quits the game.
40748
+ * In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows the `Disconnecting from GTA Online` warning screen message and quits the game.
40749
+ * After quitting, the game process is started again (as the name implies).
40660
40750
  */
40661
40751
  declare function N_0xe574a662acaefbb1(): void;
40752
+ /**
40753
+ * In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows the `Disconnecting from GTA Online` warning screen message and quits the game.
40754
+ * After quitting, the game process is started again (as the name implies).
40755
+ */
40756
+ declare function RestartGame(): void;
40662
40757
 
40663
40758
  /**
40664
- * RESTART_SCRIPTED_CONVERSATION
40759
+ * Restarts a conversation that was previously paused with [PAUSE_SCRIPTED_CONVERSATION](#\_0x8530AD776CD72B12)
40665
40760
  */
40666
40761
  declare function RestartScriptedConversation(): void;
40667
40762
 
@@ -41320,6 +41415,15 @@ declare function PushScaleformMovieMethodParameterString_2(_string: string): voi
41320
41415
  */
41321
41416
  declare function ScriptIsMovingMobilePhoneOffscreen(toggle: boolean): void;
41322
41417
 
41418
+ /**
41419
+ * Overrides wind elevation sounds
41420
+ */
41421
+ declare function ScriptOverridesWindElevation(override: boolean, windElevationHashName: string | number): void;
41422
+ /**
41423
+ * Overrides wind elevation sounds
41424
+ */
41425
+ declare function N_0x70b8ec8fc108a634(override: boolean, windElevationHashName: string | number): void;
41426
+
41323
41427
  /**
41324
41428
  * SCRIPT_RACE_GET_PLAYER_SPLIT_TIME
41325
41429
  */
@@ -48948,15 +49052,6 @@ declare function SetPedSuffersCriticalHits(ped: number, toggle: boolean): void;
48948
49052
  */
48949
49053
  declare function SetPedSweat(ped: number, sweat: number): void;
48950
49054
 
48951
- /**
48952
- * Speech related.
48953
- */
48954
- declare function SetPedTalk(ped: number): void;
48955
- /**
48956
- * Speech related.
48957
- */
48958
- declare function N_0x4ada3f19be4a6047(ped: number): void;
48959
-
48960
49055
  /**
48961
49056
  * Only 1 and 2 appear in the scripts. combatbehaviour.meta seems to only have TLR_SearchForTarget for all peds, but we don't know if that's 1 or 2.
48962
49057
  */
@@ -59762,11 +59857,6 @@ declare function N_0xdeadc0dedeadc0de(entity: number): void;
59762
59857
  */
59763
59858
  declare function EntityDescriptionText(entity: number): void;
59764
59859
 
59765
- /**
59766
- * NativeDB Introduced: v1493
59767
- */
59768
- declare function UpdateLsur(enableMixes: boolean): void;
59769
-
59770
59860
  /**
59771
59861
  * Transiently updates the entity with the specified mapdata index and entity index.
59772
59862
  * This function supports SDK infrastructure and is not intended to be used directly from your code.
@@ -59818,6 +59908,15 @@ declare function N_0xe23d5873c2394c61(player: number): boolean;
59818
59908
  */
59819
59909
  declare function HasPlayerTeleportFinished(player: number): boolean;
59820
59910
 
59911
+ /**
59912
+ * Updates a playing sounds absolute position.
59913
+ */
59914
+ declare function UpdateSoundCoord(soundId: number, x: number, y: number, z: number): void;
59915
+ /**
59916
+ * Updates a playing sounds absolute position.
59917
+ */
59918
+ declare function N_0x7ec3c679d0e7e46b(soundId: number, x: number, y: number, z: number): void;
59919
+
59821
59920
  /**
59822
59921
  * UPDATE_TASK_AIM_GUN_SCRIPTED_TARGET
59823
59922
  */
@@ -59838,6 +59937,21 @@ declare function UpdateTaskSweepAimEntity(ped: number, entity: number): void;
59838
59937
  */
59839
59938
  declare function UpdateTaskSweepAimPosition(p0: number, p1: number, p2: number, p3: number): void;
59840
59939
 
59940
+ /**
59941
+ * Unlocks any available DJ radio tracks based on the tuneable status
59942
+ * ```
59943
+ * NativeDB Introduced: v1493
59944
+ * ```
59945
+ */
59946
+ declare function UpdateUnlockableDjRadioTracks(allowTrackReprioritization: boolean): void;
59947
+ /**
59948
+ * Unlocks any available DJ radio tracks based on the tuneable status
59949
+ * ```
59950
+ * NativeDB Introduced: v1493
59951
+ * ```
59952
+ */
59953
+ declare function UpdateLsur(allowTrackReprioritization: boolean): void;
59954
+
59841
59955
  /**
59842
59956
  * Related to displaying cash on the HUD
59843
59957
  * Always called before HUD::CHANGE_FAKE_MP_CASH in decompiled scripts
@@ -59849,6 +59963,15 @@ declare function UseFakeMpCash(p0: boolean): void;
59849
59963
  */
59850
59964
  declare function N_0x170f541e1cadd1de(p0: boolean): void;
59851
59965
 
59966
+ /**
59967
+ * Allows script to trigger a sweetener footstep sound
59968
+ */
59969
+ declare function UseFootstepScriptSweeteners(ped: number, useSweetner: boolean, soundSetHash: string | number): void;
59970
+ /**
59971
+ * Allows script to trigger a sweetener footstep sound
59972
+ */
59973
+ declare function N_0xbf4dc1784be94dfa(ped: number, useSweetner: boolean, soundSetHash: string | number): void;
59974
+
59852
59975
  /**
59853
59976
  * From the b678d decompiled scripts:
59854
59977
  * GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL("FM_Mission_Controler");
@@ -59891,7 +60014,7 @@ declare function UsePlayerColourInsteadOfTeamColour(toggle: boolean): void;
59891
60014
  /**
59892
60015
  * USE_SIREN_AS_HORN
59893
60016
  */
59894
- declare function UseSirenAsHorn(vehicle: number, toggle: boolean): void;
60017
+ declare function UseSirenAsHorn(vehicle: number, sirenAsHorn: boolean): void;
59895
60018
 
59896
60019
  /**
59897
60020
  * Applies a predefined set of vehicle camera settings optimized for capturing stunts, effective for the current game update/frame.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7616-1",
3
+ "version": "2.0.7628-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {