@citizenfx/client 2.0.7475-1 → 2.0.7494-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 +563 -309
  2. package/package.json +1 -1
@@ -14,13 +14,41 @@ declare function Absi(value: number): number;
14
14
  declare function Acos(p0: number): number;
15
15
 
16
16
  /**
17
- * ACTIVATE_AUDIO_SLOWMO_MODE
18
- */
19
- declare function ActivateAudioSlowmoMode(p0: string): void;
20
- /**
21
- * ACTIVATE_AUDIO_SLOWMO_MODE
22
- */
23
- declare function N_0xd01005d2ba2eb778(p0: string): void;
17
+ * Below is a list of modes and their respective hashes.
18
+ * | Mode (string) | Hash |
19
+ * |-----------------------------|--------------------|
20
+ * | SLOWMO_BIG_SCORE_JUMP | 0x2B981B0C |
21
+ * | JSH_EXIT_TUNNEL_SLOWMO | 0x2562AA6 |
22
+ * | SLOW_MO_METH_HOUSE_RAYFIRE | 0xDB9E1909 |
23
+ * | SLOWMO_FIB4\_TRUCK_SMASH | 0x9E144347 |
24
+ * | SLOWMO_PROLOGUE_VAULT | 0xEA2E68E1 |
25
+ * | SLOWMO_T1\_RAYFIRE_EXPLOSION | 0xD6D358F3 |
26
+ * | SLOWMO_T1\_TRAILER_SMASH | 0xBE607345 |
27
+ * | BARRY\_01\_SLOWMO | 0xD59540D4 |
28
+ * | BARRY\_02\_SLOWMO | 0x12F140B3 |
29
+ * | SLOWMO_EXTREME\_04 | 0xF562EA50 |
30
+ * | NIGEL\_02\_SLOWMO_SETTING | 0x384689B0 |
31
+ * @param mode A string indicating the audio slow motion mode to use, *see the table*.
32
+ */
33
+ declare function ActivateAudioSlowmoMode(mode: string): void;
34
+ /**
35
+ * Below is a list of modes and their respective hashes.
36
+ * | Mode (string) | Hash |
37
+ * |-----------------------------|--------------------|
38
+ * | SLOWMO_BIG_SCORE_JUMP | 0x2B981B0C |
39
+ * | JSH_EXIT_TUNNEL_SLOWMO | 0x2562AA6 |
40
+ * | SLOW_MO_METH_HOUSE_RAYFIRE | 0xDB9E1909 |
41
+ * | SLOWMO_FIB4\_TRUCK_SMASH | 0x9E144347 |
42
+ * | SLOWMO_PROLOGUE_VAULT | 0xEA2E68E1 |
43
+ * | SLOWMO_T1\_RAYFIRE_EXPLOSION | 0xD6D358F3 |
44
+ * | SLOWMO_T1\_TRAILER_SMASH | 0xBE607345 |
45
+ * | BARRY\_01\_SLOWMO | 0xD59540D4 |
46
+ * | BARRY\_02\_SLOWMO | 0x12F140B3 |
47
+ * | SLOWMO_EXTREME\_04 | 0xF562EA50 |
48
+ * | NIGEL\_02\_SLOWMO_SETTING | 0x384689B0 |
49
+ * @param mode A string indicating the audio slow motion mode to use, *see the table*.
50
+ */
51
+ declare function N_0xd01005d2ba2eb778(mode: string): void;
24
52
 
25
53
  /**
26
54
  * ACTIVATE_DAMAGE_TRACKER_ON_NETWORK_ID
@@ -386,17 +414,17 @@ declare function AddEntityIcon(entity: number, icon: string): number;
386
414
  * All found occurrences in b678d:
387
415
  * pastebin.com/ceu67jz8
388
416
  */
389
- declare function AddEntityToAudioMixGroup(entity: number, groupName: string, p2: number): void;
417
+ declare function AddEntityToAudioMixGroup(entity: number, groupName: string, fadeIn: number): void;
390
418
  /**
391
419
  * All found occurrences in b678d:
392
420
  * pastebin.com/ceu67jz8
393
421
  */
394
- declare function N_0x153973ab99fe8980(entity: number, groupName: string, p2: number): void;
422
+ declare function N_0x153973ab99fe8980(entity: number, groupName: string, fadeIn: number): void;
395
423
  /**
396
424
  * All found occurrences in b678d:
397
425
  * pastebin.com/ceu67jz8
398
426
  */
399
- declare function DynamicMixerRelatedFn(entity: number, groupName: string, p2: number): void;
427
+ declare function DynamicMixerRelatedFn(entity: number, groupName: string, fadeIn: number): void;
400
428
 
401
429
  /**
402
430
  * NativeDB Added Parameter 9: BOOL noDamage
@@ -541,23 +569,16 @@ declare function AddCurrentRise(xLow: number, yLow: number, xHigh: number, yHigh
541
569
  declare function AddHospitalRestart(x: number, y: number, z: number, p3: number, p4: number): number;
542
570
 
543
571
  /**
544
- * NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs,
545
- * _GET_TEXT_SUBSTRING and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts.
546
- * p0 is -1, 0 - 35
547
- * p1 is a char or string (whatever you wanna call it)
548
- * p2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop
549
- * p3 is again -1, 0 - 35
550
- * p4 is again -1, 0 - 35
551
- * p5 is either 0 or 1 (bool ?)
552
- * p6 is either 0 or 1 (The func to determine this is bool)
553
- * p7 is either 0 or 1 (The func to determine this is bool)
554
- * p8 is either 0 or 1 (The func to determine this is bool)
555
- * p9 is 0 - 3 (Determined by func_60 in dialogue_handler.c)
556
- * p10 is either 0 or 1 (The func to determine this is bool)
557
- * p11 is either 0 or 1 (The func to determine this is bool)
558
- * p12 is unknown as in TU27 X360 scripts it only goes to p11.
572
+ * cpp
573
+ * enum eAudibility {
574
+ * AUD_AUDIBILITY_NORMAL = 0,
575
+ * AUD_AUDIBILITY_CLEAR = 1,
576
+ * AUD_AUDIBILITY_CRITICAL = 2,
577
+ * AUD_AUDIBILITY_LEAD_IN = 3
578
+ * }
579
+ * @param audibility See eAudibility
559
580
  */
560
- declare function AddLineToConversation(index: number, p1: string, p2: string, p3: number, p4: number, p5: boolean, p6: boolean, p7: boolean, p8: boolean, p9: number, p10: boolean, p11: boolean, p12: boolean): void;
581
+ declare function AddLineToConversation(speakerConversationIndex: number, context: string, subtitle: string, listenerNumber: number, volumeType: number, isRandom: boolean, interruptible: boolean, ducksRadio: boolean, ducksScore: boolean, audibility: number, headset: boolean, dontInterruptForSpecialAbility: boolean, isPadSpeakerRoute: boolean): void;
561
582
 
562
583
  /**
563
584
  * Loads a minimap overlay from a GFx file in the current resource.
@@ -735,12 +756,9 @@ declare function N_0x5619bfa07cfd7833(ped: number, collection: string | number,
735
756
  declare function SetPedFacialDecoration(ped: number, collection: string | number, overlay: string | number): void;
736
757
 
737
758
  /**
738
- * 4 calls in the b617d scripts. The only one with p0 and p2 in clear text:
739
- * AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, "DINAPOLI");
740
- * =================================================
741
- * One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15.
759
+ * ADD_PED_TO_CONVERSATION
742
760
  */
743
- declare function AddPedToConversation(index: number, ped: number, p2: string): void;
761
+ declare function AddPedToConversation(speakerConversationIndex: number, ped: number, voiceName: string): void;
744
762
 
745
763
  /**
746
764
  * ADD_PETROL_DECAL
@@ -2519,19 +2537,36 @@ declare function BgStartContext(contextName: string): void;
2519
2537
  declare function BgStartContextHash(contextHash: string | number): void;
2520
2538
 
2521
2539
  /**
2522
- * Plays the siren sound of a vehicle which is otherwise activated when fastly double-pressing the horn key.
2523
- * Only works on vehicles with a police siren.
2540
+ * Plays a siren blip from the vehicle when you double press the horn key.
2541
+ * This only works on vehicles with sirens.
2524
2542
  */
2525
2543
  declare function BlipSiren(vehicle: number): void;
2526
2544
 
2545
+ /**
2546
+ * Blocks *all* speech playing on the given ped, including speech triggered by natives such as [PLAY_PED_AMBIENT_SPEECH_WITH_VOICE_NATIVE](#\_0x3523634255FC3318)
2547
+ * The flag itself is not synced, it must be called on each machine that wishes to suppress the speech.
2548
+ * The `SuppressOutgoingNetworkSpeech` flag can be set to `false` if you want speech triggered locally through `PLAY_PED_AMBIENT_SPEECH_*` related native calls to still be audible on remote machines, even though it was blocked on the local one.
2549
+ * @param suppressOutgoingNetworkSpeech Defaults to `true`.
2550
+ */
2551
+ declare function BlockAllSpeechFromPed(ped: number, shouldBlock: boolean, suppressOutgoingNetworkSpeech: boolean): void;
2552
+ /**
2553
+ * Blocks *all* speech playing on the given ped, including speech triggered by natives such as [PLAY_PED_AMBIENT_SPEECH_WITH_VOICE_NATIVE](#\_0x3523634255FC3318)
2554
+ * The flag itself is not synced, it must be called on each machine that wishes to suppress the speech.
2555
+ * The `SuppressOutgoingNetworkSpeech` flag can be set to `false` if you want speech triggered locally through `PLAY_PED_AMBIENT_SPEECH_*` related native calls to still be audible on remote machines, even though it was blocked on the local one.
2556
+ * @param suppressOutgoingNetworkSpeech Defaults to `true`.
2557
+ */
2558
+ declare function N_0xf8ad2eed7c47e8fe(ped: number, shouldBlock: boolean, suppressOutgoingNetworkSpeech: boolean): void;
2559
+
2527
2560
  /**
2528
2561
  * BLOCK_DEATH_JINGLE
2562
+ * @param blocked Sets if the death jingle can play when a player dies or not
2529
2563
  */
2530
- declare function BlockDeathJingle(toggle: boolean): void;
2564
+ declare function BlockDeathJingle(blocked: boolean): void;
2531
2565
  /**
2532
2566
  * BLOCK_DEATH_JINGLE
2567
+ * @param blocked Sets if the death jingle can play when a player dies or not
2533
2568
  */
2534
- declare function N_0xf154b8d1775b2dec(toggle: boolean): void;
2569
+ declare function N_0xf154b8d1775b2dec(blocked: boolean): void;
2535
2570
 
2536
2571
  /**
2537
2572
  * eventType: https://alloc8or.re/gta5/doc/enums/eEventType.txt
@@ -2557,6 +2592,39 @@ declare function BlockPedDeadBodyShockingEvents(ped: number, toggle: boolean): v
2557
2592
  */
2558
2593
  declare function N_0xe43a13c9e4cccbcf(ped: number, toggle: boolean): void;
2559
2594
 
2595
+ /**
2596
+ * ```cpp
2597
+ * enum eAudContextBlockTarget {
2598
+ * AUD_CONTEXT_BLOCK_PLAYER = 0,
2599
+ * AUD_CONTEXT_BLOCK_NPCS = 1,
2600
+ * AUD_CONTEXT_BLOCK_BUDDYS = 2,
2601
+ * AUD_CONTEXT_BLOCK_EVERYONE = 3,
2602
+ * AUD_CONTEXT_BLOCK_TARGETS_TOTAL
2603
+ * }
2604
+ * ```
2605
+ * Stop a certain group of peds from using a certain group of speech contexts.
2606
+ * Note that the block will be automatically removed when the calling script finishes
2607
+ * @param groupName the name of the context group to be blocked
2608
+ * @param contextBlockTarget the group of peds that should be used (refer to eAudContextBlockTarget)
2609
+ */
2610
+ declare function BlockSpeechContextGroup(groupName: string, contextBlockTarget: number): void;
2611
+ /**
2612
+ * ```cpp
2613
+ * enum eAudContextBlockTarget {
2614
+ * AUD_CONTEXT_BLOCK_PLAYER = 0,
2615
+ * AUD_CONTEXT_BLOCK_NPCS = 1,
2616
+ * AUD_CONTEXT_BLOCK_BUDDYS = 2,
2617
+ * AUD_CONTEXT_BLOCK_EVERYONE = 3,
2618
+ * AUD_CONTEXT_BLOCK_TARGETS_TOTAL
2619
+ * }
2620
+ * ```
2621
+ * Stop a certain group of peds from using a certain group of speech contexts.
2622
+ * Note that the block will be automatically removed when the calling script finishes
2623
+ * @param groupName the name of the context group to be blocked
2624
+ * @param contextBlockTarget the group of peds that should be used (refer to eAudContextBlockTarget)
2625
+ */
2626
+ declare function N_0xa8a7d434afb4b97b(groupName: string, contextBlockTarget: number): void;
2627
+
2560
2628
  /**
2561
2629
  * BREAK_ENTITY_GLASS
2562
2630
  */
@@ -2807,15 +2875,6 @@ declare function N_0x6cd5a433374d4cfb(ped1: number, ped2: number): boolean;
2807
2875
  */
2808
2876
  declare function CanPedSeePed(ped1: number, ped2: number): boolean;
2809
2877
 
2810
- /**
2811
- * Checks if the ped can play the speech or has the speech file, last parameter is usually 0
2812
- */
2813
- declare function CanPedSpeak(ped: number, speechName: string, unk: boolean): boolean;
2814
- /**
2815
- * Checks if the ped can play the speech or has the speech file, last parameter is usually 0
2816
- */
2817
- declare function N_0x49b99bf3fda89a7a(ped: number, speechName: string, unk: boolean): boolean;
2818
-
2819
2878
  /**
2820
2879
  * This one is weird and seems to return a TRUE state regardless of whether the phone is visible on screen or tucked away.
2821
2880
  * I can confirm the above. This function is hard-coded to always return 1.
@@ -2904,17 +2963,32 @@ declare function CanShuffleSeat(vehicle: number, seatIndex: number): boolean;
2904
2963
  declare function CanUseWeaponOnParachute(weaponHash: string | number): boolean;
2905
2964
 
2906
2965
  /**
2907
- * _CANCEL_CURRENT_POLICE_REPORT
2966
+ * CAN_VEHICLE_RECEIVE_CB_RADIO
2967
+ * @return Returns true if the vehicle can currently receive CB radio (ie. it has a capable radio and is in range of a transmitter)
2908
2968
  */
2909
- declare function CancelCurrentPoliceReport(): void;
2969
+ declare function CanVehicleReceiveCbRadio(vehicle: number): boolean;
2970
+ /**
2971
+ * CAN_VEHICLE_RECEIVE_CB_RADIO
2972
+ * @return Returns true if the vehicle can currently receive CB radio (ie. it has a capable radio and is in range of a transmitter)
2973
+ */
2974
+ declare function IsVehicleRadioLoud(vehicle: number): boolean;
2975
+
2976
+ /**
2977
+ * CANCEL_ALL_POLICE_REPORTS
2978
+ */
2979
+ declare function CancelAllPoliceReports(): void;
2910
2980
  /**
2911
- * _CANCEL_CURRENT_POLICE_REPORT
2981
+ * CANCEL_ALL_POLICE_REPORTS
2912
2982
  */
2913
2983
  declare function N_0xb4f90faf7670b16f(): void;
2914
2984
  /**
2915
- * _CANCEL_CURRENT_POLICE_REPORT
2985
+ * CANCEL_ALL_POLICE_REPORTS
2916
2986
  */
2917
2987
  declare function DisablePoliceReports(): void;
2988
+ /**
2989
+ * CANCEL_ALL_POLICE_REPORTS
2990
+ */
2991
+ declare function CancelCurrentPoliceReport(): void;
2918
2992
 
2919
2993
  /**
2920
2994
  * Cancels the currently executing event.
@@ -2923,6 +2997,8 @@ declare function CancelEvent(): void;
2923
2997
 
2924
2998
  /**
2925
2999
  * All music event names found in the b617d scripts: pastebin.com/GnYt0R3P
3000
+ * @param eventName the name of the event to cancel
3001
+ * @return True of the event was cancelled, false otherwise.
2926
3002
  */
2927
3003
  declare function CancelMusicEvent(eventName: string): boolean;
2928
3004
 
@@ -3340,15 +3416,20 @@ declare function ClearAllPedVehicleForcedSeatUsage(ped: number): void;
3340
3416
  declare function N_0xe6ca85e7259ce16b(ped: number): void;
3341
3417
 
3342
3418
  /**
3343
- * CLEAR_AMBIENT_ZONE_LIST_STATE
3419
+ * Resets the list of ambients zones enabled/disabled status to its value before it was modified by this script.
3420
+ * Default behaviour is that any state change only gets applied once the player leaves the zone.
3421
+ * @param zoneListName The zone name to clear
3422
+ * @param forceUpdate Whether ot not to force a zone to become disabled even if its currently active
3344
3423
  */
3345
- declare function ClearAmbientZoneListState(p1: boolean): number;
3424
+ declare function ClearAmbientZoneListState(zoneListName: string, forceUpdate: boolean): void;
3346
3425
 
3347
3426
  /**
3348
- * This function also has a p2, unknown. Signature AUDIO::CLEAR_AMBIENT_ZONE_STATE(const char* zoneName, bool p1, Any p2);
3349
- * Still needs more research.
3427
+ * Resets the ambient zone enabled/disabled status to its value before it was modified by this script
3428
+ * Default behaviour is that any state change only gets applied once the player leaves the zone.
3429
+ * @param zoneName the zone name to clear
3430
+ * @param forceUpdate Whether ot not to force a zone to become disabled even if its currently active
3350
3431
  */
3351
- declare function ClearAmbientZoneState(zoneName: string, p1: boolean): void;
3432
+ declare function ClearAmbientZoneState(zoneName: string, forceUpdate: boolean): void;
3352
3433
 
3353
3434
  /**
3354
3435
  * NativeDB Added Parameter 13: Any p12
@@ -3443,15 +3524,11 @@ declare function ClearBrief(): void;
3443
3524
  declare function ClearCloudHat(): void;
3444
3525
 
3445
3526
  /**
3446
- * 3 calls in the b617d scripts, removed duplicate.
3447
- * AUDIO::CLEAR_CUSTOM_RADIO_TRACK_LIST("RADIO_16_SILVERLAKE");
3448
- * AUDIO::CLEAR_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK");
3527
+ * Clears the previously queued custom track lost for the given radio station.
3449
3528
  */
3450
3529
  declare function ClearCustomRadioTrackList(radioStation: string): void;
3451
3530
  /**
3452
- * 3 calls in the b617d scripts, removed duplicate.
3453
- * AUDIO::CLEAR_CUSTOM_RADIO_TRACK_LIST("RADIO_16_SILVERLAKE");
3454
- * AUDIO::CLEAR_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK");
3531
+ * Clears the previously queued custom track lost for the given radio station.
3455
3532
  */
3456
3533
  declare function N_0x1654f24a88a8e3fe(radioStation: string): void;
3457
3534
 
@@ -5515,13 +5592,15 @@ declare function DatafileWatchRequestId(id: number): void;
5515
5592
  declare function N_0xad6875bbc0fc899c(id: number): void;
5516
5593
 
5517
5594
  /**
5518
- * DEACTIVATE_AUDIO_SLOWMO_MODE
5595
+ * Deactivates the named slowmo mode.
5596
+ * @param mode name of the mode to deactivate
5519
5597
  */
5520
- declare function DeactivateAudioSlowmoMode(p0: string): void;
5598
+ declare function DeactivateAudioSlowmoMode(mode: string): void;
5521
5599
  /**
5522
- * DEACTIVATE_AUDIO_SLOWMO_MODE
5600
+ * Deactivates the named slowmo mode.
5601
+ * @param mode name of the mode to deactivate
5523
5602
  */
5524
- declare function N_0xddc635d5b3262c56(p0: string): void;
5603
+ declare function N_0xddc635d5b3262c56(mode: string): void;
5525
5604
 
5526
5605
  /**
5527
5606
  * DEACTIVATE_INTERIOR_ENTITY_SET
@@ -5994,7 +6073,7 @@ declare function N_0x600048c60d5c2c51(ped: number): void;
5994
6073
  /**
5995
6074
  * DISABLE_PED_PAIN_AUDIO
5996
6075
  */
5997
- declare function DisablePedPainAudio(ped: number, toggle: boolean): void;
6076
+ declare function DisablePedPainAudio(ped: number, shouldDisable: boolean): void;
5998
6077
 
5999
6078
  /**
6000
6079
  * DISABLE_PLANE_AILERON
@@ -6278,20 +6357,20 @@ declare function DisposeSynchronizedScene(scene: number): void;
6278
6357
  declare function N_0xcd9cc7e200a52a6f(scene: number): void;
6279
6358
 
6280
6359
  /**
6281
- * If value is set to true, and ambient siren sound will be played.
6282
- * Appears to enable/disable an audio flag.
6360
+ * Toggles fake distant siren sounds
6361
+ * @param shouldPlay True will play distand sounds, false will disable them.
6283
6362
  */
6284
- declare function DistantCopCarSirens(value: boolean): void;
6363
+ declare function DistantCopCarSirens(shouldPlay: boolean): void;
6285
6364
  /**
6286
- * If value is set to true, and ambient siren sound will be played.
6287
- * Appears to enable/disable an audio flag.
6365
+ * Toggles fake distant siren sounds
6366
+ * @param shouldPlay True will play distand sounds, false will disable them.
6288
6367
  */
6289
- declare function N_0x552369f549563ad5(value: boolean): void;
6368
+ declare function N_0x552369f549563ad5(shouldPlay: boolean): void;
6290
6369
  /**
6291
- * If value is set to true, and ambient siren sound will be played.
6292
- * Appears to enable/disable an audio flag.
6370
+ * Toggles fake distant siren sounds
6371
+ * @param shouldPlay True will play distand sounds, false will disable them.
6293
6372
  */
6294
- declare function ForceAmbientSiren(value: boolean): void;
6373
+ declare function ForceAmbientSiren(shouldPlay: boolean): void;
6295
6374
 
6296
6375
  /**
6297
6376
  * DO_AUTO_SAVE
@@ -6367,6 +6446,25 @@ declare function IsCargobobMagnetActive(cargobob: number): boolean;
6367
6446
  */
6368
6447
  declare function DoesCargobobHavePickupMagnet(cargobob: number): boolean;
6369
6448
 
6449
+ /**
6450
+ * Checks if the context exists for the ped, searching through the voices in its PedVoiceGroup.
6451
+ * The final argument can be set to true to allow searching in backup PVGs
6452
+ * @return True of the PedVoiceGroup exists, false otherwise.
6453
+ */
6454
+ declare function DoesContextExistForThisPed(ped: number, speechName: string, allowBackupPVGs: boolean): boolean;
6455
+ /**
6456
+ * Checks if the context exists for the ped, searching through the voices in its PedVoiceGroup.
6457
+ * The final argument can be set to true to allow searching in backup PVGs
6458
+ * @return True of the PedVoiceGroup exists, false otherwise.
6459
+ */
6460
+ declare function N_0x49b99bf3fda89a7a(ped: number, speechName: string, allowBackupPVGs: boolean): boolean;
6461
+ /**
6462
+ * Checks if the context exists for the ped, searching through the voices in its PedVoiceGroup.
6463
+ * The final argument can be set to true to allow searching in backup PVGs
6464
+ * @return True of the PedVoiceGroup exists, false otherwise.
6465
+ */
6466
+ declare function CanPedSpeak(ped: number, speechName: string, allowBackupPVGs: boolean): boolean;
6467
+
6370
6468
  /**
6371
6469
  * DOES_CUTSCENE_ENTITY_EXIST
6372
6470
  */
@@ -7775,13 +7873,24 @@ declare function N_0x50c375537449f369(mapObjectHash: string | number): void;
7775
7873
  declare function EnableSpecialAbility(player: number, toggle: boolean): void;
7776
7874
 
7777
7875
  /**
7778
- * ENABLE_STALL_WARNING_SOUNDS
7876
+ * Enable or disable the plane stall warning sounds
7779
7877
  */
7780
- declare function EnableStallWarningSounds(vehicle: number, toggle: boolean): void;
7878
+ declare function EnableStallWarningSounds(vehicle: number, enable: boolean): void;
7781
7879
  /**
7782
- * ENABLE_STALL_WARNING_SOUNDS
7880
+ * Enable or disable the plane stall warning sounds
7783
7881
  */
7784
- declare function N_0xc15907d667f7cfb2(vehicle: number, toggle: boolean): void;
7882
+ declare function N_0xc15907d667f7cfb2(vehicle: number, enable: boolean): void;
7883
+
7884
+ /**
7885
+ * Enable the stunt jump audio detection code
7886
+ * This native is meant to be called per-frame for as long as detection is wanted.
7887
+ */
7888
+ declare function EnableStuntJumpAudio(): void;
7889
+ /**
7890
+ * Enable the stunt jump audio detection code
7891
+ * This native is meant to be called per-frame for as long as detection is wanted.
7892
+ */
7893
+ declare function N_0xb81cf134aeb56ffb(): void;
7785
7894
 
7786
7895
  /**
7787
7896
  * ENABLE_STUNT_JUMP_SET
@@ -10624,7 +10733,7 @@ declare function GetCutFileNumSections(cutsceneName: string): number;
10624
10733
  declare function N_0x0abc54de641dc0fc(cutsceneName: string): number;
10625
10734
 
10626
10735
  /**
10627
- * Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](\_0xC23DE0E91C30B58C)
10736
+ * Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](#\_0xC23DE0E91C30B58C)
10628
10737
  * If a cutscene is laid out with 10 second sections, and section 0 and 1 are enabled then it would be 20000ms.
10629
10738
  * ```
10630
10739
  * NativeDB Introduced: v1734
@@ -10632,7 +10741,7 @@ declare function N_0x0abc54de641dc0fc(cutsceneName: string): number;
10632
10741
  */
10633
10742
  declare function GetCutsceneEndTime(): number;
10634
10743
  /**
10635
- * Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](\_0xC23DE0E91C30B58C)
10744
+ * Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](#\_0xC23DE0E91C30B58C)
10636
10745
  * If a cutscene is laid out with 10 second sections, and section 0 and 1 are enabled then it would be 20000ms.
10637
10746
  * ```
10638
10747
  * NativeDB Introduced: v1734
@@ -10653,7 +10762,7 @@ declare function GetCutsceneTime(): number;
10653
10762
 
10654
10763
  /**
10655
10764
  * Gets the total length of the cutscene irrespective of playback list in milliseconds
10656
- * To account for sections, see [`_GET_CUTSCENE_END_TIME`]()
10765
+ * To account for sections, see [`_GET_CUTSCENE_END_TIME`](#\_0x971D7B15BCDBEF99)
10657
10766
  * @return Cutscene total length in milliseconds
10658
10767
  */
10659
10768
  declare function GetCutsceneTotalDuration(): number;
@@ -12840,9 +12949,21 @@ declare function GetMount(ped: number): number;
12840
12949
 
12841
12950
  /**
12842
12951
  * GET_MUSIC_PLAYTIME
12952
+ * @return Returns the play time in milliseconds of the current score track.
12843
12953
  */
12844
12954
  declare function GetMusicPlaytime(): number;
12845
12955
 
12956
+ /**
12957
+ * GET_MUSIC_VOL_SLIDER
12958
+ * @return Returns the current volume slider position from 0 to 10
12959
+ */
12960
+ declare function GetMusicVolSlider(): number;
12961
+ /**
12962
+ * GET_MUSIC_VOL_SLIDER
12963
+ * @return Returns the current volume slider position from 0 to 10
12964
+ */
12965
+ declare function N_0x3a48ab4445d499be(): number;
12966
+
12846
12967
  /**
12847
12968
  * _GET_NAME_OF_THREAD
12848
12969
  */
@@ -12978,8 +13099,8 @@ declare function GetNearestPlayerToEntity(entity: number): number;
12978
13099
  declare function GetNearestPlayerToEntityOnTeam(entity: number, team: number): number;
12979
13100
 
12980
13101
  /**
12981
- * Could this be used alongside either,
12982
- * SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES or _SET_NETWORK_ID_SYNC_TO_PLAYER to make it so other players can hear the sound while online? It'd be a bit troll-fun to be able to play the Zancudo UFO creepy sounds globally.
13102
+ * GET_NETWORK_ID_FROM_SOUND_ID
13103
+ * @return Returns the network id for the specific sound
12983
13104
  */
12984
13105
  declare function GetNetworkIdFromSoundId(soundId: number): number;
12985
13106
 
@@ -13014,6 +13135,23 @@ declare function DisableBlipNameForVar(): number;
13014
13135
  */
13015
13136
  declare function N_0x5c90988e7c8e1af4(): number;
13016
13137
 
13138
+ /**
13139
+ * GET_NEXT_AUDIBLE_BEAT
13140
+ * @param timeInSeconds time in seconds until the start of the next beat
13141
+ * @param bpm current tempo in beats per minute,
13142
+ * @param beatNum integer beat within the bar
13143
+ * @return Returns information on beat information for any audible music.
13144
+ */
13145
+ declare function GetNextAudibleBeat(): [boolean, number, number, number];
13146
+ /**
13147
+ * GET_NEXT_AUDIBLE_BEAT
13148
+ * @param timeInSeconds time in seconds until the start of the next beat
13149
+ * @param bpm current tempo in beats per minute,
13150
+ * @param beatNum integer beat within the bar
13151
+ * @return Returns information on beat information for any audible music.
13152
+ */
13153
+ declare function N_0xc64a06d939f826f5(): [boolean, number, number, number];
13154
+
13017
13155
  /**
13018
13156
  * GET_NEXT_BLIP_INFO_ID
13019
13157
  */
@@ -13370,10 +13508,12 @@ declare function GetNumDecorations(character: number): number;
13370
13508
 
13371
13509
  /**
13372
13510
  * GET_NUM_UNLOCKED_RADIO_STATIONS
13511
+ * @return Returns the number of radio stations currently unlocked in the game. This can change as a result of DLC and/or script calls.
13373
13512
  */
13374
13513
  declare function GetNumUnlockedRadioStations(): number;
13375
13514
  /**
13376
13515
  * GET_NUM_UNLOCKED_RADIO_STATIONS
13516
+ * @return Returns the number of radio stations currently unlocked in the game. This can change as a result of DLC and/or script calls.
13377
13517
  */
13378
13518
  declare function MaxRadioStationIndex(): number;
13379
13519
 
@@ -14308,24 +14448,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
14308
14448
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
14309
14449
 
14310
14450
  /**
14311
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14451
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14312
14452
  * @param ped The target ped
14313
14453
  * @return Returns ped's eye colour, or -1 if fails to get.
14314
14454
  */
14315
14455
  declare function GetPedEyeColor(ped: number): number;
14456
+
14316
14457
  /**
14317
14458
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14318
14459
  * @param ped The target ped
14319
14460
  * @return Returns ped's eye colour, or -1 if fails to get.
14320
14461
  */
14321
- declare function N_0x76bba2cee66d47e9(ped: number): number;
14322
-
14462
+ declare function GetPedEyeColor(ped: number): number;
14323
14463
  /**
14324
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14464
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14325
14465
  * @param ped The target ped
14326
14466
  * @return Returns ped's eye colour, or -1 if fails to get.
14327
14467
  */
14328
- declare function GetPedEyeColor(ped: number): number;
14468
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
14329
14469
 
14330
14470
  /**
14331
14471
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -15029,16 +15169,19 @@ declare function GetPlayerPedScriptIndex(player: number): number;
15029
15169
 
15030
15170
  /**
15031
15171
  * GET_PLAYER_RADIO_STATION_GENRE
15172
+ * @return Returns the genre of the players current radio station
15032
15173
  */
15033
15174
  declare function GetPlayerRadioStationGenre(): number;
15034
15175
 
15035
15176
  /**
15036
- * Returns 255 (radio off index) if the function fails.
15177
+ * GET_PLAYER_RADIO_STATION_INDEX
15178
+ * @return Returns the index of the current players radio station, or 255 if the radio is off
15037
15179
  */
15038
15180
  declare function GetPlayerRadioStationIndex(): number;
15039
15181
 
15040
15182
  /**
15041
- * Returns active radio station name
15183
+ * GET_PLAYER_RADIO_STATION_NAME
15184
+ * @return Returns the name of the players radio station. This serves as the text label.
15042
15185
  */
15043
15186
  declare function GetPlayerRadioStationName(): string;
15044
15187
 
@@ -15288,9 +15431,10 @@ declare function GetProjectileNearPed(ped: number, weaponHash: string | number,
15288
15431
  declare function N_0x82fde6a57ee4ee44(ped: number, weaponHash: string | number, distance: number, ownedByPlayer: boolean): [boolean, number[], number];
15289
15432
 
15290
15433
  /**
15291
- * Returns String with radio station name.
15434
+ * GET_RADIO_STATION_NAME
15435
+ * @return Returns the name of the radio station with the specified index. This serves as the text label.
15292
15436
  */
15293
- declare function GetRadioStationName(radioStation: number): string;
15437
+ declare function GetRadioStationName(stationIndex: number): string;
15294
15438
 
15295
15439
  /**
15296
15440
  * GET_RAIN_LEVEL
@@ -16131,20 +16275,25 @@ declare function N_0xa09f896ce912481f(p0: boolean): number;
16131
16275
  declare function GetSnowLevel(): number;
16132
16276
 
16133
16277
  /**
16134
- * GET_SOUND_ID
16278
+ * If a playback function has a soundId field but the sound doesn't need to be altered after triggering then pass a value of -1 for fire-and-forget playback, rather than getting a soundId.
16279
+ * SoundId's can be reused, without needing to release them and grab a new one.
16280
+ * If a sound's finished playing, you can reuse its SoundId to kick off another one.
16281
+ * If the sound's not finished playing, it'll be stopped first (fading out or whatever is set up in RAVE by the sound designer), and the new one kicked off; usually it is safer to just get a new SoundId.
16282
+ * SoundId's are not automatically cleaned up, you must use [RELEASE_SOUND_ID](#\_0x353FC880830B88FA) after you've finished using them to allow the engine to recycle the sound id.
16283
+ * @return Returns a sound id which can be used to control the sound after its has started playing.
16135
16284
  */
16136
16285
  declare function GetSoundId(): number;
16137
16286
 
16138
16287
  /**
16139
16288
  * Counterpart: [`GET_NETWORK_ID_FROM_SOUND_ID`](#\_0x2DE3F0A134FFBC0D).
16140
16289
  * @param netId Network ID of sound.
16141
- * @return Integer representing a sound id, -1 (0xFFFFFFFF) on failure.
16290
+ * @return Integer representing a sound id, -1 on failure.
16142
16291
  */
16143
16292
  declare function GetSoundIdFromNetworkId(netId: number): number;
16144
16293
  /**
16145
16294
  * Counterpart: [`GET_NETWORK_ID_FROM_SOUND_ID`](#\_0x2DE3F0A134FFBC0D).
16146
16295
  * @param netId Network ID of sound.
16147
- * @return Integer representing a sound id, -1 (0xFFFFFFFF) on failure.
16296
+ * @return Integer representing a sound id, -1 on failure.
16148
16297
  */
16149
16298
  declare function N_0x75262fd12d0a1c84(netId: number): number;
16150
16299
 
@@ -16269,6 +16418,7 @@ declare function GetStatusOfTextureDownload(p0: number): number;
16269
16418
 
16270
16419
  /**
16271
16420
  * GET_STREAM_PLAY_TIME
16421
+ * @return Returns the currently playing stream's play time
16272
16422
  */
16273
16423
  declare function GetStreamPlayTime(): number;
16274
16424
 
@@ -16462,6 +16612,23 @@ declare function N_0xff56381874f82086(characterType: number, decorationIndex: nu
16462
16612
  */
16463
16613
  declare function GetTattooCollectionData(characterType: number, decorationIndex: number, outComponent?: number): [boolean, number];
16464
16614
 
16615
+ /**
16616
+ * NativeDB Introduced: v2189
16617
+ * @param character AKA eFaction in shop_tattoo.meta. Which character this tattoo belongs to. See [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#\_0x278F76C3B0A8F109).
16618
+ * @param collection Which collection this tattoo belongs to. If you specify `-1`, it will check all collections.
16619
+ * @param preset Which preset this tattoo belongs to.
16620
+ * @return Returns the actual index (Not ID from `shop_tattoo.meta`) from `0` to [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#\_0x278F76C3B0A8F109), or `-1` (if it failed to find the tattoo) of a tattoo.
16621
+ */
16622
+ declare function GetTattooShopDlcItemIndex(character: number, collection: number, preset: number): number;
16623
+ /**
16624
+ * NativeDB Introduced: v2189
16625
+ * @param character AKA eFaction in shop_tattoo.meta. Which character this tattoo belongs to. See [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#\_0x278F76C3B0A8F109).
16626
+ * @param collection Which collection this tattoo belongs to. If you specify `-1`, it will check all collections.
16627
+ * @param preset Which preset this tattoo belongs to.
16628
+ * @return Returns the actual index (Not ID from `shop_tattoo.meta`) from `0` to [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#\_0x278F76C3B0A8F109), or `-1` (if it failed to find the tattoo) of a tattoo.
16629
+ */
16630
+ declare function N_0x10144267dd22866c(character: number, collection: number, preset: number): number;
16631
+
16465
16632
  /**
16466
16633
  * GET_TENNIS_SWING_ANIM_COMPLETE
16467
16634
  */
@@ -20031,6 +20198,7 @@ declare function IsAnyPedShootingInArea(x1: number, y1: number, z1: number, x2:
20031
20198
 
20032
20199
  /**
20033
20200
  * IS_ANY_SPEECH_PLAYING
20201
+ * @return Returns true if the specified ped is playing any speech
20034
20202
  */
20035
20203
  declare function IsAnySpeechPlaying(ped: number): boolean;
20036
20204
 
@@ -20046,6 +20214,8 @@ declare function IsAreaOccupied(p0: number, p1: number, p2: number, p3: number,
20046
20214
 
20047
20215
  /**
20048
20216
  * IS_AUDIO_SCENE_ACTIVE
20217
+ * @param scene the name of the scene
20218
+ * @return Returns true if the script is already running the named scene, false otherwise
20049
20219
  */
20050
20220
  declare function IsAudioSceneActive(scene: string): boolean;
20051
20221
 
@@ -20836,7 +21006,8 @@ declare function IsHelpMessageFadingOut(): boolean;
20836
21006
  declare function IsHelpMessageOnScreen(): boolean;
20837
21007
 
20838
21008
  /**
20839
- * Checks whether the horn of a vehicle is currently played.
21009
+ * IS_HORN_ACTIVE
21010
+ * @return Returns true if the vehicle is currently playing a horn sound
20840
21011
  */
20841
21012
  declare function IsHornActive(vehicle: number): boolean;
20842
21013
 
@@ -21012,15 +21183,18 @@ declare function IsRadarEnabled(): boolean;
21012
21183
 
21013
21184
  /**
21014
21185
  * IS_MISSION_COMPLETE_PLAYING
21186
+ * @return Returns true if the mission complete audio is playing
21015
21187
  */
21016
21188
  declare function IsMissionCompletePlaying(): boolean;
21017
21189
 
21018
21190
  /**
21019
21191
  * IS_MISSION_COMPLETE_READY_FOR_UI
21192
+ * @return Returns true if the script should draw the mission complete UI to be in sync with audio.
21020
21193
  */
21021
21194
  declare function IsMissionCompleteReadyForUi(): boolean;
21022
21195
  /**
21023
21196
  * IS_MISSION_COMPLETE_READY_FOR_UI
21197
+ * @return Returns true if the script should draw the mission complete UI to be in sync with audio.
21024
21198
  */
21025
21199
  declare function N_0x6f259f82d873b8b8(): boolean;
21026
21200
 
@@ -21031,10 +21205,12 @@ declare function IsMissionCreatorBlip(blip: number): boolean;
21031
21205
 
21032
21206
  /**
21033
21207
  * IS_MISSION_NEWS_STORY_UNLOCKED
21208
+ * @return Returns true of the specific story is available to be played back
21034
21209
  */
21035
21210
  declare function IsMissionNewsStoryUnlocked(newsStory: number): boolean;
21036
21211
  /**
21037
21212
  * IS_MISSION_NEWS_STORY_UNLOCKED
21213
+ * @return Returns true of the specific story is available to be played back
21038
21214
  */
21039
21215
  declare function GetNumberOfPassengerVoiceVariations(newsStory: number): boolean;
21040
21216
 
@@ -21043,13 +21219,26 @@ declare function GetNumberOfPassengerVoiceVariations(newsStory: number): boolean
21043
21219
  */
21044
21220
  declare function IsMissionTrain(vehicle: number): boolean;
21045
21221
 
21222
+ /**
21223
+ * IS_MOBILE_INTERFERENCE_ACTIVE
21224
+ * @return Returns true of mobile phone interference is currently happening
21225
+ */
21226
+ declare function IsMobileInterferenceActive(): boolean;
21227
+ /**
21228
+ * IS_MOBILE_INTERFERENCE_ACTIVE
21229
+ * @return Returns true of mobile phone interference is currently happening
21230
+ */
21231
+ declare function N_0xc8b1b2425604cdd0(): boolean;
21232
+
21046
21233
  /**
21047
21234
  * IS_MOBILE_PHONE_CALL_ONGOING
21235
+ * @return Returns true of a mobile phone call is currently happening.
21048
21236
  */
21049
21237
  declare function IsMobilePhoneCallOngoing(): boolean;
21050
21238
 
21051
21239
  /**
21052
21240
  * IS_MOBILE_PHONE_RADIO_ACTIVE
21241
+ * @return Returns true if the mobile phone radio is active
21053
21242
  */
21054
21243
  declare function IsMobilePhoneRadioActive(): boolean;
21055
21244
 
@@ -21151,10 +21340,12 @@ declare function IsTextChatActive(): boolean;
21151
21340
 
21152
21341
  /**
21153
21342
  * IS_MUSIC_ONESHOT_PLAYING
21343
+ * @return Returns true if a one shot is currently playing or prepared
21154
21344
  */
21155
21345
  declare function IsMusicOneshotPlaying(): boolean;
21156
21346
  /**
21157
21347
  * IS_MUSIC_ONESHOT_PLAYING
21348
+ * @return Returns true if a one shot is currently playing or prepared
21158
21349
  */
21159
21350
  declare function N_0xa097ab275061fb21(): boolean;
21160
21351
 
@@ -21430,12 +21621,15 @@ declare function IsPedCuffed(ped: number): boolean;
21430
21621
  declare function IsPedCurrentWeaponSilenced(ped: number): boolean;
21431
21622
 
21432
21623
  /**
21433
- * Seems to consistently return true if the ped is dead, however, it does not detect the dying phase.
21434
- * @param ped the ped
21435
- * @param p1 always passed 1 in the scripts; requires more research.
21436
- * @return Whether the ped is dead or dying.
21624
+ * Determines if a ped is dead. Contrary to what the name might suggest, it does not always detect when a ped is in the 'dying' phase (transitioning to death). The exception is when `checkMeleeDeathFlags` is set to `true`, which then includes peds in the midst of melee takedown moves as being in a dying state, even if the death task has not yet started.
21625
+ * ```
21626
+ * NativeDB Introduced: v323
21627
+ * ```
21628
+ * @param ped The ped to check.
21629
+ * @param checkMeleeDeathFlags If set to `true`, extends the check to include melee takedown moves as part of the dying phase.
21630
+ * @return Returns `true` if the ped is dead. When `checkMeleeDeathFlags` is set to `true`, it also considers peds in melee takedown moves as dying, although the broader 'dying' phase may not be detected.
21437
21631
  */
21438
- declare function IsPedDeadOrDying(ped: number, p1: boolean): boolean;
21632
+ declare function IsPedDeadOrDying(ped: number, checkMeleeDeathFlags: boolean): boolean;
21439
21633
 
21440
21634
  /**
21441
21635
  * IS_PED_DEFENSIVE_AREA_ACTIVE
@@ -21651,6 +21845,7 @@ declare function IsPedInCoverFacingLeft(ped: number): boolean;
21651
21845
 
21652
21846
  /**
21653
21847
  * IS_PED_IN_CURRENT_CONVERSATION
21848
+ * @return Returns true if the ped is in the currently playing conversation
21654
21849
  */
21655
21850
  declare function IsPedInCurrentConversation(ped: number): boolean;
21656
21851
 
@@ -21854,6 +22049,7 @@ declare function IsPedRespondingToEvent(ped: number, event: number): boolean;
21854
22049
 
21855
22050
  /**
21856
22051
  * IS_PED_RINGTONE_PLAYING
22052
+ * @return Returns true if the peds ringtone is currently playing
21857
22053
  */
21858
22054
  declare function IsPedRingtonePlaying(ped: number): boolean;
21859
22055
 
@@ -22409,15 +22605,18 @@ declare function IsRadarPreferenceSwitchedOn(): boolean;
22409
22605
 
22410
22606
  /**
22411
22607
  * IS_RADIO_FADED_OUT
22608
+ * @return Returns true if the radio is currently faded out
22412
22609
  */
22413
22610
  declare function IsRadioFadedOut(): boolean;
22414
22611
  /**
22415
22612
  * IS_RADIO_FADED_OUT
22613
+ * @return Returns true if the radio is currently faded out
22416
22614
  */
22417
22615
  declare function N_0x0626a247d2405330(): boolean;
22418
22616
 
22419
22617
  /**
22420
22618
  * IS_RADIO_RETUNING
22619
+ * @return Returns true if the radio is tuning to a station
22421
22620
  */
22422
22621
  declare function IsRadioRetuning(): boolean;
22423
22622
 
@@ -23243,11 +23442,6 @@ declare function IsVehicleRadioEnabled(vehicle: number): boolean;
23243
23442
  */
23244
23443
  declare function N_0x0be4be946463f917(vehicle: number): boolean;
23245
23444
 
23246
- /**
23247
- * _IS_VEHICLE_RADIO_LOUD
23248
- */
23249
- declare function IsVehicleRadioLoud(vehicle: number): boolean;
23250
-
23251
23445
  /**
23252
23446
  * _IS_VEHICLE_ROCKET_BOOST_ACTIVE
23253
23447
  */
@@ -24400,11 +24594,6 @@ declare function N_0x0b40ed49d7d6ff84(): void;
24400
24594
  */
24401
24595
  declare function N_0x0b565b0aae56a0e8(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number): void;
24402
24596
 
24403
- /**
24404
- * 0x0B568201DD99F0EB
24405
- */
24406
- declare function N_0x0b568201dd99f0eb(p0: boolean): void;
24407
-
24408
24597
  /**
24409
24598
  * 0x0B8B7F74BF061C6D
24410
24599
  */
@@ -24479,22 +24668,6 @@ declare function N_0x0f6f1ebbc4e1d5e6(scriptIndex: number, p1: string): boolean;
24479
24668
  */
24480
24669
  declare function N_0x0ffb3c758e8c07b9(ped: number, p1: boolean): number;
24481
24670
 
24482
- /**
24483
- * Returns some sort of index/offset for overlays/decorations.
24484
- * ```
24485
- * Character types:
24486
- * 0 = Michael,
24487
- * 1 = Franklin,
24488
- * 2 = Trevor,
24489
- * 3 = MPMale,
24490
- * 4 = MPFemale
24491
- * ```
24492
- * ```
24493
- * NativeDB Introduced: v2189
24494
- * ```
24495
- */
24496
- declare function N_0x10144267dd22866c(overlayHash: string | number, p1: number, character: number): number;
24497
-
24498
24671
  /**
24499
24672
  * NativeDB Introduced: v1290
24500
24673
  */
@@ -24599,11 +24772,6 @@ declare function N_0x144da052257ae7d8(p0: number): void;
24599
24772
  */
24600
24773
  declare function N_0x14922ed3e38761f0(): boolean;
24601
24774
 
24602
- /**
24603
- * 0x149AEE66F0CB3A99
24604
- */
24605
- declare function N_0x149aee66f0cb3a99(p0: number, p1: number): void;
24606
-
24607
24775
  /**
24608
24776
  * **This native does absolutely nothing, just a nullsub**
24609
24777
  */
@@ -24715,11 +24883,6 @@ declare function N_0x1a7ce7cd3e653485(p0: number): void;
24715
24883
  */
24716
24884
  declare function N_0x1a8ea222f9c67dbb(p0: number): [number, number];
24717
24885
 
24718
- /**
24719
- * 0x1B7ABE26CBCBF8C7
24720
- */
24721
- declare function N_0x1b7abe26cbcbf8c7(ped: number, p1: number, p2: number): void;
24722
-
24723
24886
  /**
24724
24887
  * SCRIPT_RACE_*
24725
24888
  */
@@ -25470,11 +25633,6 @@ declare function N_0x33d72899e24c3365(p0: number, p1: number): number;
25470
25633
  */
25471
25634
  declare function N_0x33df47cc0642061b(): boolean;
25472
25635
 
25473
- /**
25474
- * 0x33E3C6C6F2F0B506
25475
- */
25476
- declare function N_0x33e3c6c6f2f0b506(p0: number, p1: number, p2: number, p3: number): void;
25477
-
25478
25636
  /**
25479
25637
  * 0x3441CAD2F2231923
25480
25638
  */
@@ -25621,11 +25779,6 @@ declare function N_0x39917e1b4cb0f911(p0: boolean): void;
25621
25779
  */
25622
25780
  declare function N_0x39a5fb7eaf150840(p0: number, p1: number): void;
25623
25781
 
25624
- /**
25625
- * 0x3A48AB4445D499BE
25626
- */
25627
- declare function N_0x3a48ab4445d499be(): number;
25628
-
25629
25782
  /**
25630
25783
  * NativeDB Removed Parameter 3: int R
25631
25784
  * NativeDB Removed Parameter 4: int G
@@ -26377,11 +26530,6 @@ declare function N_0x5c497525f803486b(): void;
26377
26530
  */
26378
26531
  declare function N_0x5cdaed54b34b0ed0(p0: number): void;
26379
26532
 
26380
- /**
26381
- * 0x5D2BFAAB8D956E0E
26382
- */
26383
- declare function N_0x5d2bfaab8d956e0e(): void;
26384
-
26385
26533
  /**
26386
26534
  * p1: 0..16
26387
26535
  * ```
@@ -26489,11 +26637,6 @@ declare function N_0x613f125ba3bd2eb9(): boolean;
26489
26637
  */
26490
26638
  declare function N_0x615d3925e87a3b26(checkpoint: number): void;
26491
26639
 
26492
- /**
26493
- * 0x61631F5DF50D1C34
26494
- */
26495
- declare function N_0x61631f5df50d1c34(p0: boolean): void;
26496
-
26497
26640
  /**
26498
26641
  * NETWORK_GET_NUM_*
26499
26642
  */
@@ -26867,11 +27010,6 @@ declare function N_0x6fd97159fe3c971a(p0: number, p1: number, p2: number, p3: nu
26867
27010
  */
26868
27011
  declare function N_0x6fd992c4a1c1b986(): number;
26869
27012
 
26870
- /**
26871
- * SET_P*
26872
- */
26873
- declare function N_0x6fddad856e36988a(vehicle: number, toggle: boolean): void;
26874
-
26875
27013
  /**
26876
27014
  * HAS_*
26877
27015
  * Probably something like "has game been started for the first time".
@@ -27116,11 +27254,6 @@ declare function N_0x793ff272d5b365f4(): number;
27116
27254
  */
27117
27255
  declare function N_0x796a877e459b99ea(p0: number, p1: number, p2: number, p3: number): void;
27118
27256
 
27119
- /**
27120
- * NativeDB Introduced: v1734
27121
- */
27122
- declare function N_0x79c0e43eb9b944e2(hash: string | number): boolean;
27123
-
27124
27257
  /**
27125
27258
  * Sets profile setting 940 and 941
27126
27259
  * _SET_F* - _SET_G*
@@ -27530,11 +27663,6 @@ declare function N_0x88b588b41ff7868e(): number;
27530
27663
  */
27531
27664
  declare function N_0x88bc673ca9e0ae99(vehicle: number, p1: boolean): void;
27532
27665
 
27533
- /**
27534
- * 0x892B6AB8F33606F5
27535
- */
27536
- declare function N_0x892b6ab8f33606f5(p0: number, entity: number): void;
27537
-
27538
27666
  /**
27539
27667
  * **This native does absolutely nothing, just a nullsub**
27540
27668
  */
@@ -28240,11 +28368,6 @@ declare function N_0xa85a21582451e951(doorHash: string | number, p1: boolean): v
28240
28368
  */
28241
28369
  declare function N_0xa8733668d1047b51(p0: number): void;
28242
28370
 
28243
- /**
28244
- * NativeDB Introduced: v1493
28245
- */
28246
- declare function N_0xa8a7d434afb4b97b(p0: string, p1: number): void;
28247
-
28248
28371
  /**
28249
28372
  * 0xA8ACB6459542A8C8
28250
28373
  */
@@ -28332,11 +28455,6 @@ declare function N_0xab13a5565480b6d9(ped: number, p1: string): number;
28332
28455
  */
28333
28456
  declare function N_0xab31ef4de6800ce9(p0: number, p1: number): void;
28334
28457
 
28335
- /**
28336
- * NativeDB Introduced: v1868
28337
- */
28338
- declare function N_0xab6781a5f3101470(p0: number, p1: number): void;
28339
-
28340
28458
  /**
28341
28459
  * 0xAC2890471901861C
28342
28460
  */
@@ -28586,11 +28704,6 @@ declare function N_0xb7b873520c84c118(): void;
28586
28704
  */
28587
28705
  declare function N_0xb7c6d80fb371659a(): void;
28588
28706
 
28589
- /**
28590
- * 0xB81CF134AEB56FFB
28591
- */
28592
- declare function N_0xb81cf134aeb56ffb(): void;
28593
-
28594
28707
  /**
28595
28708
  * Disables something. Used only once in R* scripts (freemode.ysc).
28596
28709
  * DISABLE_PLAYER_*
@@ -28939,12 +29052,6 @@ declare function N_0xc6033d32241f6fb5(object: number, toggle: boolean): void;
28939
29052
  */
28940
29053
  declare function N_0xc61b86c9f61eb404(toggle: boolean): void;
28941
29054
 
28942
- /**
28943
- * GET_NE*
28944
- * NativeDB Introduced: v1493
28945
- */
28946
- declare function N_0xc64a06d939f826f5(): [boolean, number, number, number];
28947
-
28948
29055
  /**
28949
29056
  * NativeDB Introduced: v2189
28950
29057
  */
@@ -28995,11 +29102,6 @@ declare function N_0xc847b43f369ac0b5(): void;
28995
29102
  */
28996
29103
  declare function N_0xc87e740d9f3872cc(): number;
28997
29104
 
28998
- /**
28999
- * IS_MOBILE_PHONE_*
29000
- */
29001
- declare function N_0xc8b1b2425604cdd0(): boolean;
29002
-
29003
29105
  /**
29004
29106
  * 0xC8B5C4A79CC18B94
29005
29107
  */
@@ -29274,11 +29376,6 @@ declare function N_0xd9454b5752c857dc(): void;
29274
29376
  */
29275
29377
  declare function N_0xd9f692d349249528(): void;
29276
29378
 
29277
- /**
29278
- * 0xDA07819E452FFE8F
29279
- */
29280
- declare function N_0xda07819e452ffe8f(p0: number): void;
29281
-
29282
29379
  /**
29283
29380
  * 0xDAF80797FC534BEC
29284
29381
  */
@@ -29533,11 +29630,6 @@ declare function N_0xe4c3b169876d33d7(p0: number): void;
29533
29630
  */
29534
29631
  declare function N_0xe4dcec7fd5b739a5(ped: number): void;
29535
29632
 
29536
- /**
29537
- * STOP_S*
29538
- */
29539
- declare function N_0xe4e6dd5566d28c82(): void;
29540
-
29541
29633
  /**
29542
29634
  * NativeDB Introduced: v1290
29543
29635
  */
@@ -29941,14 +30033,6 @@ declare function N_0xf83d0febe75e62c9(p0: number, p1: number, p2: number, p3: nu
29941
30033
  */
29942
30034
  declare function N_0xf854439efbb3b583(): void;
29943
30035
 
29944
- /**
29945
- * BL\*
29946
- * ```
29947
- * NativeDB Introduced: v1734
29948
- * ```
29949
- */
29950
- declare function N_0xf8ad2eed7c47e8fe(ped: number, p1: boolean, p2: boolean): void;
29951
-
29952
30036
  /**
29953
30037
  * NativeDB Introduced: v2060
29954
30038
  */
@@ -38225,8 +38309,9 @@ declare function PrepareSynchronizedAudioEvent(p0: string, p1: number): number;
38225
38309
 
38226
38310
  /**
38227
38311
  * PREPARE_SYNCHRONIZED_AUDIO_EVENT_FOR_SCENE
38312
+ * @return Returns true if prepared, false otherwise
38228
38313
  */
38229
- declare function PrepareSynchronizedAudioEventForScene(p0: number, p1?: number): [boolean, number];
38314
+ declare function PrepareSynchronizedAudioEventForScene(sceneId: number, audioEvent: string): boolean;
38230
38315
 
38231
38316
  /**
38232
38317
  * PRESENCE_EVENT_UPDATESTAT_FLOAT
@@ -38398,11 +38483,11 @@ declare function RaiseRetractableWheels(vehicle: number): void;
38398
38483
  declare function RaiseLowerableWheels(vehicle: number): void;
38399
38484
 
38400
38485
  /**
38401
- * RECORD_BROKEN_GLASS
38486
+ * Creates a broken glass area
38402
38487
  */
38403
38488
  declare function RecordBrokenGlass(x: number, y: number, z: number, radius: number): void;
38404
38489
  /**
38405
- * RECORD_BROKEN_GLASS
38490
+ * Creates a broken glass area
38406
38491
  */
38407
38492
  declare function N_0xfbe20329593dec9d(x: number, y: number, z: number, radius: number): void;
38408
38493
 
@@ -38415,6 +38500,15 @@ declare function RefillAmmoInstantly(ped: number): boolean;
38415
38500
  */
38416
38501
  declare function PedSkipNextReloading(ped: number): boolean;
38417
38502
 
38503
+ /**
38504
+ * Refreshes the closest shoreline using the nearest road position.
38505
+ */
38506
+ declare function RefreshClosestOceanShoreline(): void;
38507
+ /**
38508
+ * Refreshes the closest shoreline using the nearest road position.
38509
+ */
38510
+ declare function N_0x5d2bfaab8d956e0e(): void;
38511
+
38418
38512
  /**
38419
38513
  * REFRESH_INTERIOR
38420
38514
  */
@@ -38615,7 +38709,7 @@ declare function RegisterSaveHouse(p0: number, p1: number, p2: number, p3: numbe
38615
38709
  /**
38616
38710
  * **This native does absolutely nothing, just a nullsub**
38617
38711
  */
38618
- declare function RegisterScriptWithAudio(p0: number): void;
38712
+ declare function RegisterScriptWithAudio(inChargeOfAudio: boolean): void;
38619
38713
 
38620
38714
  /**
38621
38715
  * **Experimental**: This native may be altered or removed in future versions of CitizenFX without warning.
@@ -38690,7 +38784,7 @@ declare function ReleaseAllCommerceItemImages(): void;
38690
38784
  declare function N_0x72d0706cd6ccdb58(): void;
38691
38785
 
38692
38786
  /**
38693
- * RELEASE_AMBIENT_AUDIO_BANK
38787
+ * This native has been marked as deprecated internally, please use [RELEASE_SCRIPT_AUDIO_BANK](#\_0x7A2D8AD0A9EB9C3F) instead.
38694
38788
  */
38695
38789
  declare function ReleaseAmbientAudioBank(): void;
38696
38790
 
@@ -38711,7 +38805,7 @@ declare function ReleaseControlOfFrontend(): void;
38711
38805
  declare function N_0x14621bb1df14e2b2(): void;
38712
38806
 
38713
38807
  /**
38714
- * RELEASE_MISSION_AUDIO_BANK
38808
+ * This native has been marked as deprecated internally, please use [RELEASE_SCRIPT_AUDIO_BANK](#\_0x7A2D8AD0A9EB9C3F) instead.
38715
38809
  */
38716
38810
  declare function ReleaseMissionAudioBank(): void;
38717
38811
 
@@ -38726,7 +38820,7 @@ declare function ReleaseMovieMeshSet(movieMeshSet: number): void;
38726
38820
  declare function ReleaseNamedRendertarget(name: string): boolean;
38727
38821
 
38728
38822
  /**
38729
- * RELEASE_NAMED_SCRIPT_AUDIO_BANK
38823
+ * Unloads the specified audioBank
38730
38824
  */
38731
38825
  declare function ReleaseNamedScriptAudioBank(audioBank: string): void;
38732
38826
 
@@ -38763,7 +38857,7 @@ declare function N_0x5d517b27cf6ecd04(id: number): void;
38763
38857
  declare function ReleasePreloadMods(vehicle: number): void;
38764
38858
 
38765
38859
  /**
38766
- * RELEASE_SCRIPT_AUDIO_BANK
38860
+ * Unloads all audio banks requested by this script.
38767
38861
  */
38768
38862
  declare function ReleaseScriptAudioBank(): void;
38769
38863
 
@@ -38787,7 +38881,7 @@ declare function N_0x2b3334bca57cd799(entity: number): void;
38787
38881
  declare function ShapeTestResultEntity(entity: number): void;
38788
38882
 
38789
38883
  /**
38790
- * RELEASE_SOUND_ID
38884
+ * This should be called once a sound has finished being manipulated by the script so that its SoundId can be released and re-used.
38791
38885
  */
38792
38886
  declare function ReleaseSoundId(soundId: number): void;
38793
38887
 
@@ -41545,23 +41639,49 @@ declare function SetAudioFlag(flagName: string, toggle: boolean): void;
41545
41639
  declare function SetAudioSceneVariable(scene: string, variable: string, value: number): void;
41546
41640
 
41547
41641
  /**
41548
- * SET_AUDIO_SCRIPT_CLEANUP_TIME
41642
+ * Set a delay in milliseconds for the audio to be cleaned up when the script finishes.
41549
41643
  */
41550
- declare function SetAudioScriptCleanupTime(time: number): void;
41644
+ declare function SetAudioScriptCleanupTime(timeMs: number): void;
41551
41645
  /**
41552
- * SET_AUDIO_SCRIPT_CLEANUP_TIME
41646
+ * Set a delay in milliseconds for the audio to be cleaned up when the script finishes.
41553
41647
  */
41554
- declare function N_0xa5f377b175a699c5(time: number): void;
41648
+ declare function N_0xa5f377b175a699c5(timeMs: number): void;
41555
41649
 
41556
41650
  /**
41557
41651
  * Needs to be called every frame.
41558
- * Audio mode to apply this frame: https://alloc8or.re/gta5/doc/enums/audSpecialEffectMode.txt
41652
+ * ```cpp
41653
+ * enum audSpecialEffectMode
41654
+ * {
41655
+ * kSpecialEffectModeNormal = 0,
41656
+ * kSpecialEffectModeUnderwater = 1,
41657
+ * kSpecialEffectModeStoned = 2,
41658
+ * kSpecialEffectModePauseMenu = 3,
41659
+ * kSpecialEffectModeSlowMotion = 4,
41660
+ * kSpecialEffectModeDrunkStage01 = 5,
41661
+ * kSpecialEffectModeDrunkStage02 = 6,
41662
+ * kSpecialEffectModeDrunkStage03 = 7,
41663
+ * NUM_AUDSPECIALEFFECTMODE
41664
+ * };
41665
+ * ```
41559
41666
  * @param mode Audio mode to apply this frame
41560
41667
  */
41561
41668
  declare function SetAudioSpecialEffectMode(mode: number): void;
41562
41669
  /**
41563
41670
  * Needs to be called every frame.
41564
- * Audio mode to apply this frame: https://alloc8or.re/gta5/doc/enums/audSpecialEffectMode.txt
41671
+ * ```cpp
41672
+ * enum audSpecialEffectMode
41673
+ * {
41674
+ * kSpecialEffectModeNormal = 0,
41675
+ * kSpecialEffectModeUnderwater = 1,
41676
+ * kSpecialEffectModeStoned = 2,
41677
+ * kSpecialEffectModePauseMenu = 3,
41678
+ * kSpecialEffectModeSlowMotion = 4,
41679
+ * kSpecialEffectModeDrunkStage01 = 5,
41680
+ * kSpecialEffectModeDrunkStage02 = 6,
41681
+ * kSpecialEffectModeDrunkStage03 = 7,
41682
+ * NUM_AUDSPECIALEFFECTMODE
41683
+ * };
41684
+ * ```
41565
41685
  * @param mode Audio mode to apply this frame
41566
41686
  */
41567
41687
  declare function N_0x12561fcbb62d5b9c(mode: number): void;
@@ -41620,9 +41740,23 @@ declare function SetAudioSubmixEffectRadioFx(submixId: number, effectSlot: numbe
41620
41740
  declare function SetAudioSubmixOutputVolumes(submixId: number, outputSlot: number, frontLeftVolume: number, frontRightVolume: number, rearLeftVolume: number, rearRightVolume: number, channel5Volume: number, channel6Volume: number): void;
41621
41741
 
41622
41742
  /**
41623
- * SET_AUDIO_VEHICLE_PRIORITY
41743
+ * Sets the priority for the given vehicle. This is a hint for the audio system as to what LOD the
41744
+ * vehicle should use.
41745
+ * 'High' priority will bump up the activation range significantly and prevent it
41746
+ * from dropping when the vehicle is not within the view frustrum.
41747
+ * 'Max' will attempt to keep the vehicle at maximum LOD regardless of how far it is from the listener or what it is currently doing. Be careful with this!
41748
+ * There is a hard limit of 5 simulataneous granular cars (including the player) so we are quite limited on the number
41749
+ * we can play at once, so setting vehicles to max priority will reduce the number of engines availble for regular NPC vehicles
41750
+ * ```cpp
41751
+ * enum eAudVehiclePriority {
41752
+ * AUDIO_VEHICLE_PRIORITY_NORMAL = 0,
41753
+ * AUDIO_VEHICLE_PRIORITY_MEDIUM = 1,
41754
+ * AUDIO_VEHICLE_PRIORITY_MAX = 2,
41755
+ * AUDIO_VEHICLE_PRIORITY_HIGH = 3,
41756
+ * }
41757
+ * ```
41624
41758
  */
41625
- declare function SetAudioVehiclePriority(vehicle: number, p1: number): void;
41759
+ declare function SetAudioVehiclePriority(vehicle: number, priority: number): void;
41626
41760
 
41627
41761
  /**
41628
41762
  * SET_AUTO_GIVE_PARACHUTE_WHEN_ENTER_PLANE
@@ -42779,6 +42913,28 @@ declare function SetControlNormal(padIndex: number, control: number, amount: num
42779
42913
  */
42780
42914
  declare function N_0xe8a25867fba3b05e(padIndex: number, control: number, amount: number): boolean;
42781
42915
 
42916
+ /**
42917
+ * Sets whether or not scripted conversation flow should be controlled by anim triggers
42918
+ * @param enable Pass in true to set conversation flow to be controlled by animation triggers.
42919
+ */
42920
+ declare function SetConversationAudioControlledByAnim(enable: boolean): void;
42921
+ /**
42922
+ * Sets whether or not scripted conversation flow should be controlled by anim triggers
42923
+ * @param enable Pass in true to set conversation flow to be controlled by animation triggers.
42924
+ */
42925
+ declare function N_0x0b568201dd99f0eb(enable: boolean): void;
42926
+
42927
+ /**
42928
+ * Used to determine whether conversation should use robot speech or not
42929
+ * @param isPlaceHolder Whether or not the conversation should use robot speech or not
42930
+ */
42931
+ declare function SetConversationAudioPlaceholder(isPlaceHolder: boolean): void;
42932
+ /**
42933
+ * Used to determine whether conversation should use robot speech or not
42934
+ * @param isPlaceHolder Whether or not the conversation should use robot speech or not
42935
+ */
42936
+ declare function N_0x61631f5df50d1c34(isPlaceHolder: boolean): void;
42937
+
42782
42938
  /**
42783
42939
  * This allows for the vehicle's roof to be put on when set to true, and removed when set to false, provided that the vehicle has a version with a roof and a version without a roof.
42784
42940
  * #### Vehicles with both roofed and roofless versions (others may exist; this list is compiled from decompiled scripts).
@@ -42862,35 +43018,26 @@ declare function SetCursorLocation(x: number, y: number): boolean;
42862
43018
  declare function N_0xfc695459d4d0e219(x: number, y: number): boolean;
42863
43019
 
42864
43020
  /**
42865
- * Examples:
42866
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_MICHAEL", 1);
42867
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_MICHAEL", 1);
42868
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_TREVOR", 1);
42869
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_SAVE_MICHAEL_TREVOR", 1);
42870
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "OFF_ROAD_RADIO_ROCK_LIST", 1);
42871
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_06_COUNTRY", "MAGDEMO2_RADIO_DINGHY", 1);
42872
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_16_SILVERLAKE", "SEA_RACE_RADIO_PLAYLIST", 1);
42873
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "OFF_ROAD_RADIO_ROCK_LIST", 1);
43021
+ * Queues up a custom track list on the specified radio station. The content in the track list will be played as soon as possible.
43022
+ * The station does not have to be frozen.
43023
+ * @param forceNow wheter or not to interrupt the current track on the tracklist
42874
43024
  */
42875
- declare function SetCustomRadioTrackList(radioStation: string, trackListName: string, p2: boolean): void;
43025
+ declare function SetCustomRadioTrackList(radioStation: string, trackListName: string, forceNow: boolean): void;
42876
43026
  /**
42877
- * Examples:
42878
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_MICHAEL", 1);
42879
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_MICHAEL", 1);
42880
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_KILL_TREVOR", 1);
42881
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "END_CREDITS_SAVE_MICHAEL_TREVOR", 1);
42882
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "OFF_ROAD_RADIO_ROCK_LIST", 1);
42883
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_06_COUNTRY", "MAGDEMO2_RADIO_DINGHY", 1);
42884
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_16_SILVERLAKE", "SEA_RACE_RADIO_PLAYLIST", 1);
42885
- * AUDIO::SET_CUSTOM_RADIO_TRACK_LIST("RADIO_01_CLASS_ROCK", "OFF_ROAD_RADIO_ROCK_LIST", 1);
43027
+ * Queues up a custom track list on the specified radio station. The content in the track list will be played as soon as possible.
43028
+ * The station does not have to be frozen.
43029
+ * @param forceNow wheter or not to interrupt the current track on the tracklist
42886
43030
  */
42887
- declare function N_0x4e404a9361f75bb2(radioStation: string, trackListName: string, p2: boolean): void;
43031
+ declare function N_0x4e404a9361f75bb2(radioStation: string, trackListName: string, forceNow: boolean): void;
42888
43032
 
42889
43033
  /**
43034
+ * ```
42890
43035
  * All occurrences found in b617d, sorted alphabetically and identical lines removed:
42891
43036
  * AUDIO::SET_CUTSCENE_AUDIO_OVERRIDE("_AK");
42892
43037
  * AUDIO::SET_CUTSCENE_AUDIO_OVERRIDE("_CUSTOM");
42893
43038
  * AUDIO::SET_CUTSCENE_AUDIO_OVERRIDE("_TOOTHLESS");
43039
+ * ```
43040
+ * Add a suffix to the cutscene audio name. Call before loading the cutscene.
42894
43041
  */
42895
43042
  declare function SetCutsceneAudioOverride(name: string): void;
42896
43043
 
@@ -42952,12 +43099,12 @@ declare function SetCutscenePedComponentVariationFromPed(cutsceneEntName: string
42952
43099
  declare function N_0x2a56c06ebef2b0d9(cutsceneEntName: string, ped: number, modelHash: string | number): void;
42953
43100
 
42954
43101
  /**
42955
- * See [`SET_PED_PROP_INDEX`](\_0x93376B65A266EB5F)
43102
+ * See [`SET_PED_PROP_INDEX`](#\_0x93376B65A266EB5F)
42956
43103
  * @param cutsceneEntName i.e Michael, Trevor, MP\_1, MP\_4
42957
43104
  */
42958
43105
  declare function SetCutscenePedPropVariation(cutsceneEntName: string, componentId: number, drawableId: number, textureId: number, modelHash: string | number): void;
42959
43106
  /**
42960
- * See [`SET_PED_PROP_INDEX`](\_0x93376B65A266EB5F)
43107
+ * See [`SET_PED_PROP_INDEX`](#\_0x93376B65A266EB5F)
42961
43108
  * @param cutsceneEntName i.e Michael, Trevor, MP\_1, MP\_4
42962
43109
  */
42963
43110
  declare function N_0x0546524ade2e9723(cutsceneEntName: string, componentId: number, drawableId: number, textureId: number, modelHash: string | number): void;
@@ -43343,7 +43490,7 @@ declare function N_0xded5af5a0ea4b297(driver: number, modifier: number): void;
43343
43490
  declare function SetDuiUrl(duiObject: number, url: string): void;
43344
43491
 
43345
43492
  /**
43346
- * SET_EMITTER_RADIO_STATION
43493
+ * Retunes a named static emitter to the specified station
43347
43494
  */
43348
43495
  declare function SetEmitterRadioStation(emitterName: string, radioStation: string): void;
43349
43496
 
@@ -43574,6 +43721,15 @@ declare function SetEntityDrawOutlineShader(shader: number): void;
43574
43721
  */
43575
43722
  declare function SetEntityDynamic(entity: number, toggle: boolean): void;
43576
43723
 
43724
+ /**
43725
+ * SET_ENTITY_FOR_NULL_CONV_PED
43726
+ */
43727
+ declare function SetEntityForNullConvPed(speakerConversationIndex: number, entity: number): void;
43728
+ /**
43729
+ * SET_ENTITY_FOR_NULL_CONV_PED
43730
+ */
43731
+ declare function N_0x892b6ab8f33606f5(speakerConversationIndex: number, entity: number): void;
43732
+
43577
43733
  /**
43578
43734
  * SET_ENTITY_HAS_GRAVITY
43579
43735
  */
@@ -44189,7 +44345,7 @@ declare function N_0x37ebbf3117bd6a25(vehicle: number, height: number): void;
44189
44345
  declare function SetFrontendActive(active: boolean): void;
44190
44346
 
44191
44347
  /**
44192
- * SET_FRONTEND_RADIO_ACTIVE
44348
+ * Allows the radio to be played in the frontend.
44193
44349
  */
44194
44350
  declare function SetFrontendRadioActive(active: boolean): void;
44195
44351
 
@@ -47907,18 +48063,7 @@ declare function SetPedInfiniteAmmoClip(ped: number, toggle: boolean): void;
47907
48063
  declare function SetPedIntoVehicle(ped: number, vehicle: number, seatIndex: number): void;
47908
48064
 
47909
48065
  /**
47910
- * Sets the ped drunk sounds. Only works with PLAYER_PED_ID
47911
- * ====================================================
47912
- * As mentioned above, this only sets the drunk sound to ped/player.
47913
- * To give the Ped a drunk effect with drunk walking animation try using SET_PED_MOVEMENT_CLIPSET
47914
- * Below is an example
47915
- * if (!Function.Call<bool>(Hash.HAS_ANIM_SET_LOADED, "move_m@drunk@verydrunk"))
47916
- * {
47917
- * Function.Call(Hash.REQUEST_ANIM_SET, "move_m@drunk@verydrunk");
47918
- * }
47919
- * Function.Call(Hash.SET_PED_MOVEMENT_CLIPSET, Ped.Handle, "move_m@drunk@verydrunk", 0x3E800000);
47920
- * And to stop the effect use
47921
- * RESET_PED_MOVEMENT_CLIPSET
48066
+ * Sets the ped so they sound drunk
47922
48067
  */
47923
48068
  declare function SetPedIsDrunk(ped: number, toggle: boolean): void;
47924
48069
 
@@ -48161,10 +48306,10 @@ declare function SetPedPinnedDown(ped: number, pinned: boolean, i: number): numb
48161
48306
  declare function SetPedPlaysHeadOnHornAnimWhenDiesInVehicle(ped: number, toggle: boolean): void;
48162
48307
 
48163
48308
  /**
48164
- * Control how many new (ambient?) peds will spawn in the game world.
48165
- * Range for p0 seems to be 0-3, where 0 is none and 3 is the normal level.
48309
+ * Sets the memory budget level for ped population.
48310
+ * @param budgetLevel Ranges from `0` to `3`, where `0` is lowest (no peds) and `3` is the full budget level.
48166
48311
  */
48167
- declare function SetPedPopulationBudget(p0: number): void;
48312
+ declare function SetPedPopulationBudget(budgetLevel: number): void;
48168
48313
 
48169
48314
  /**
48170
48315
  * SET_PED_PREFERRED_COVER_SET
@@ -48258,6 +48403,17 @@ declare function SetPedPrimaryLookat(ped: number, lookAt: number): void;
48258
48403
  */
48259
48404
  declare function SetPedPropIndex(ped: number, componentId: number, drawableId: number, textureId: number, attach: boolean): void;
48260
48405
 
48406
+ /**
48407
+ * SET_PED_RACE_AND_VOICE_GROUP
48408
+ * @param pvgHash PedVoiceGroup hash, defaults to 0
48409
+ */
48410
+ declare function SetPedRaceAndVoiceGroup(ped: number, pedRace: number, pvgHash: number): void;
48411
+ /**
48412
+ * SET_PED_RACE_AND_VOICE_GROUP
48413
+ * @param pvgHash PedVoiceGroup hash, defaults to 0
48414
+ */
48415
+ declare function N_0x1b7abe26cbcbf8c7(ped: number, pedRace: number, pvgHash: number): void;
48416
+
48261
48417
  /**
48262
48418
  * SET_PED_RAGDOLL_FORCE_FALL
48263
48419
  */
@@ -48301,15 +48457,6 @@ declare function SetPedReserveParachuteTintIndex(ped: number, p1: number): void;
48301
48457
  */
48302
48458
  declare function SetPedResetFlag(ped: number, flagId: number, doReset: boolean): void;
48303
48459
 
48304
- /**
48305
- * Assigns some ambient voice to the ped.
48306
- */
48307
- declare function SetPedScream(ped: number): void;
48308
- /**
48309
- * Assigns some ambient voice to the ped.
48310
- */
48311
- declare function N_0x40cf0d12d142a9e8(ped: number): void;
48312
-
48313
48460
  /**
48314
48461
  * This native sets a scuba mask for freemode models and an oxygen bottle for player_\* models. It works on freemode and player_\* models.
48315
48462
  */
@@ -48543,6 +48690,19 @@ declare function SetPedVisualFieldMinElevationAngle(ped: number, angle: number):
48543
48690
  */
48544
48691
  declare function SetPedVisualFieldPeripheralRange(ped: number, range: number): void;
48545
48692
 
48693
+ /**
48694
+ * Calls the same internal function [`_SET_PED_VOICE_GROUP`](#\_0x7CDC8C3B89F661B3) calls, but passes `voiceGroupHash` (defined as a parameter in the referenced native) as `0`.
48695
+ */
48696
+ declare function SetPedVoiceFull(ped: number): void;
48697
+ /**
48698
+ * Calls the same internal function [`_SET_PED_VOICE_GROUP`](#\_0x7CDC8C3B89F661B3) calls, but passes `voiceGroupHash` (defined as a parameter in the referenced native) as `0`.
48699
+ */
48700
+ declare function N_0x40cf0d12d142a9e8(ped: number): void;
48701
+ /**
48702
+ * Calls the same internal function [`_SET_PED_VOICE_GROUP`](#\_0x7CDC8C3B89F661B3) calls, but passes `voiceGroupHash` (defined as a parameter in the referenced native) as `0`.
48703
+ */
48704
+ declare function SetPedScream(ped: number): void;
48705
+
48546
48706
  /**
48547
48707
  * From the scripts:
48548
48708
  * AUDIO::_SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY("PAIGE_PVG"));
@@ -48568,6 +48728,21 @@ declare function N_0x7cdc8c3b89f661b3(ped: number, voiceGroupHash: string | numb
48568
48728
  */
48569
48729
  declare function SetPedVoiceGroupRace(ped: number, voiceGroupHash: string | number): void;
48570
48730
 
48731
+ /**
48732
+ * Overrides the calculated ped density that is used to modulate the ambient ped walla sounds (in exteriors only)
48733
+ * If you want to use this for interiors, use [SET_PED_INTERIOR_WALLA_DENSITY](#\_0x8BF907833BE275DE)
48734
+ * @param density desired walla density
48735
+ * @param applyValue how much the desired density affects the actual one
48736
+ */
48737
+ declare function SetPedWallaDensity(density: number, applyValue: number): void;
48738
+ /**
48739
+ * Overrides the calculated ped density that is used to modulate the ambient ped walla sounds (in exteriors only)
48740
+ * If you want to use this for interiors, use [SET_PED_INTERIOR_WALLA_DENSITY](#\_0x8BF907833BE275DE)
48741
+ * @param density desired walla density
48742
+ * @param applyValue how much the desired density affects the actual one
48743
+ */
48744
+ declare function N_0x149aee66f0cb3a99(density: number, applyValue: number): void;
48745
+
48571
48746
  /**
48572
48747
  * SET_PED_WAYPOINT_ROUTE_OFFSET
48573
48748
  */
@@ -48831,9 +49006,9 @@ declare function SetPlayerAirDefenseZoneFlag(player: number, zoneId: number, ena
48831
49006
  declare function N_0xecdc202b25e5cf48(player: number, zoneId: number, enable: boolean): void;
48832
49007
 
48833
49008
  /**
48834
- * SET_PLAYER_ANGRY
49009
+ * Sets a player ped to use his ANGRY speech contexts
48835
49010
  */
48836
- declare function SetPlayerAngry(ped: number, toggle: boolean): void;
49011
+ declare function SetPlayerAngry(ped: number, isAngry: boolean): void;
48837
49012
 
48838
49013
  /**
48839
49014
  * Sets the position of the arrow icon representing the player on both the minimap and world map.
@@ -49299,6 +49474,15 @@ declare function SetPlayerUnderwaterTimeRemaining(player: number, percentage: nu
49299
49474
  */
49300
49475
  declare function N_0xa0d3e4f7aafb7e78(player: number, percentage: number): number;
49301
49476
 
49477
+ /**
49478
+ * Enable player vehicle specific alarm disarm/arm sound triggering
49479
+ */
49480
+ declare function SetPlayerVehicleAlarmAudioActive(vehicle: number, active: boolean): void;
49481
+ /**
49482
+ * Enable player vehicle specific alarm disarm/arm sound triggering
49483
+ */
49484
+ declare function N_0x6fddad856e36988a(vehicle: number, active: boolean): void;
49485
+
49302
49486
  /**
49303
49487
  * modifier's min value is 0.1
49304
49488
  */
@@ -49408,23 +49592,33 @@ declare function SetPopControlSphereThisFrame(x: number, y: number, z: number, m
49408
49592
  declare function N_0xd8c3be3ee94caf2d(x: number, y: number, z: number, min: number, max: number): void;
49409
49593
 
49410
49594
  /**
49411
- * Found in the b617d scripts, duplicates removed:
49412
- * AUDIO::_044DBAD7A7FA2BE5("V_CARSHOWROOM_PS_WINDOW_UNBROKEN", "V_CARSHOWROOM_PS_WINDOW_BROKEN");
49413
- * AUDIO::_044DBAD7A7FA2BE5("V_CIA_PS_WINDOW_UNBROKEN", "V_CIA_PS_WINDOW_BROKEN");
49414
- * AUDIO::_044DBAD7A7FA2BE5("V_DLC_HEIST_APARTMENT_DOOR_CLOSED", "V_DLC_HEIST_APARTMENT_DOOR_OPEN");
49415
- * AUDIO::_044DBAD7A7FA2BE5("V_FINALEBANK_PS_VAULT_INTACT", "V_FINALEBANK_PS_VAULT_BLOWN");
49416
- * AUDIO::_044DBAD7A7FA2BE5("V_MICHAEL_PS_BATHROOM_WITH_WINDOW", "V_MICHAEL_PS_BATHROOM_WITHOUT_WINDOW");
49595
+ * SET_PORTAL_SETTINGS_OVERRIDE
49417
49596
  */
49418
- declare function SetPortalSettingsOverride(p0: string, p1: string): void;
49597
+ declare function SetPortalSettingsOverride(oldPortalSettingsName: string, newPortalSettingsName: string): void;
49419
49598
  /**
49420
- * Found in the b617d scripts, duplicates removed:
49421
- * AUDIO::_044DBAD7A7FA2BE5("V_CARSHOWROOM_PS_WINDOW_UNBROKEN", "V_CARSHOWROOM_PS_WINDOW_BROKEN");
49422
- * AUDIO::_044DBAD7A7FA2BE5("V_CIA_PS_WINDOW_UNBROKEN", "V_CIA_PS_WINDOW_BROKEN");
49423
- * AUDIO::_044DBAD7A7FA2BE5("V_DLC_HEIST_APARTMENT_DOOR_CLOSED", "V_DLC_HEIST_APARTMENT_DOOR_OPEN");
49424
- * AUDIO::_044DBAD7A7FA2BE5("V_FINALEBANK_PS_VAULT_INTACT", "V_FINALEBANK_PS_VAULT_BLOWN");
49425
- * AUDIO::_044DBAD7A7FA2BE5("V_MICHAEL_PS_BATHROOM_WITH_WINDOW", "V_MICHAEL_PS_BATHROOM_WITHOUT_WINDOW");
49599
+ * SET_PORTAL_SETTINGS_OVERRIDE
49426
49600
  */
49427
- declare function N_0x044dbad7a7fa2be5(p0: string, p1: string): void;
49601
+ declare function N_0x044dbad7a7fa2be5(oldPortalSettingsName: string, newPortalSettingsName: string): void;
49602
+
49603
+ /**
49604
+ * SET_POSITION_FOR_NULL_CONV_PED
49605
+ */
49606
+ declare function SetPositionForNullConvPed(speakerConversationIndex: number, x: number, y: number, z: number): void;
49607
+ /**
49608
+ * SET_POSITION_FOR_NULL_CONV_PED
49609
+ */
49610
+ declare function N_0x33e3c6c6f2f0b506(speakerConversationIndex: number, x: number, y: number, z: number): void;
49611
+
49612
+ /**
49613
+ * SET_POSITIONED_PLAYER_VEHICLE_RADIO_EMITTER_ENABLED
49614
+ * @param enabled enables/disables a positioned emitter for the player vehicle radio
49615
+ */
49616
+ declare function SetPositionedPlayerVehicleRadioEmitterEnabled(enabled: boolean): void;
49617
+ /**
49618
+ * SET_POSITIONED_PLAYER_VEHICLE_RADIO_EMITTER_ENABLED
49619
+ * @param enabled enables/disables a positioned emitter for the player vehicle radio
49620
+ */
49621
+ declare function N_0xda07819e452ffe8f(enabled: boolean): void;
49428
49622
 
49429
49623
  /**
49430
49624
  * SET_PROFILE_SETTING_PROLOGUE_COMPLETE
@@ -49489,6 +49683,7 @@ declare function SetRadarZoomLevelThisFrame(zoom: number): void;
49489
49683
 
49490
49684
  /**
49491
49685
  * SET_RADIO_AUTO_UNFREEZE
49686
+ * @param toggle if true the radio will automatically unfreeze as soon as the player gets in a vehicle
49492
49687
  */
49493
49688
  declare function SetRadioAutoUnfreeze(toggle: boolean): void;
49494
49689
 
@@ -50506,6 +50701,39 @@ declare function SetSynchronizedScenePhase(sceneID: number, phase: number): void
50506
50701
  */
50507
50702
  declare function SetSynchronizedSceneRate(sceneID: number, rate: number): void;
50508
50703
 
50704
+ /**
50705
+ * Override the camera work of the third-person camera to table game for current frame only.
50706
+ * | HashKey | Hash | Game |
50707
+ * | :---------------------------------: | :-----------:| :-------------: |
50708
+ * | `CASINO_LUCKY_WHEEL_CAMERA` | `5891389` | Lucky Wheel |
50709
+ * | `CASINO_SLOT_MACHINE_CAMERA` | `518572876` | Slots |
50710
+ * | `CASINO_ROULETTE_CAMERA` | `71681063` | Roulette |
50711
+ * | `CASINO_BLACKJACK_CAMERA` | `-2124244681` | Blackjack |
50712
+ * | `CASINO_POKER_CAMERA` | `-1938411241` | Three Cards |
50713
+ * | `CASINO_INSIDE_TRACK_CAMERA` | `1929822423` | Inside Track |
50714
+ * | `ARCADE_LOVE_PROFESSOR_P1_CAMERA` | `545868034` | LoveProfessorP1 |
50715
+ * | `ARCADE_LOVE_PROFESSOR_P2_CAMERA` | `935304251` | LoveProfessorP2 |
50716
+ * @param hash Hash for table game
50717
+ * @return Returns a boolean value indicating if the camera settings were successfully overriden for this current frame.
50718
+ */
50719
+ declare function SetTableGamesCameraThisUpdate(hash: string | number): boolean;
50720
+ /**
50721
+ * Override the camera work of the third-person camera to table game for current frame only.
50722
+ * | HashKey | Hash | Game |
50723
+ * | :---------------------------------: | :-----------:| :-------------: |
50724
+ * | `CASINO_LUCKY_WHEEL_CAMERA` | `5891389` | Lucky Wheel |
50725
+ * | `CASINO_SLOT_MACHINE_CAMERA` | `518572876` | Slots |
50726
+ * | `CASINO_ROULETTE_CAMERA` | `71681063` | Roulette |
50727
+ * | `CASINO_BLACKJACK_CAMERA` | `-2124244681` | Blackjack |
50728
+ * | `CASINO_POKER_CAMERA` | `-1938411241` | Three Cards |
50729
+ * | `CASINO_INSIDE_TRACK_CAMERA` | `1929822423` | Inside Track |
50730
+ * | `ARCADE_LOVE_PROFESSOR_P1_CAMERA` | `545868034` | LoveProfessorP1 |
50731
+ * | `ARCADE_LOVE_PROFESSOR_P2_CAMERA` | `935304251` | LoveProfessorP2 |
50732
+ * @param hash Hash for table game
50733
+ * @return Returns a boolean value indicating if the camera settings were successfully overriden for this current frame.
50734
+ */
50735
+ declare function N_0x79c0e43eb9b944e2(hash: string | number): boolean;
50736
+
50509
50737
  /**
50510
50738
  * SET_TASK_MOVE_NETWORK_SIGNAL_BOOL
50511
50739
  * @param ped The ped that's performing the task.
@@ -54497,7 +54725,7 @@ declare function N_0x92790862e36c2ada(): void;
54497
54725
  declare function StartCutscene(flags: number): void;
54498
54726
 
54499
54727
  /**
54500
- * Similar to [`SET_CUTSCENE_ORIGIN`](\_0xB812B3FD1C01CF27) but without heading and doesn't need [`START_CUTSCENE`](\_0x186D5CB5E7B0FF7B)
54728
+ * Similar to [`SET_CUTSCENE_ORIGIN`](#\_0xB812B3FD1C01CF27) but without heading and doesn't need [`START_CUTSCENE`](#\_0x186D5CB5E7B0FF7B)
54501
54729
  * @param flags Usually 0
54502
54730
  */
54503
54731
  declare function StartCutsceneAtCoords(x: number, y: number, z: number, flags: number): void;
@@ -55601,7 +55829,7 @@ declare function StopAnyPedModelBeingSuppressed(): void;
55601
55829
  declare function StopAudioScene(scene: string): void;
55602
55830
 
55603
55831
  /**
55604
- * ??
55832
+ * Stops all mixed scenes which were previously started by this script
55605
55833
  */
55606
55834
  declare function StopAudioScenes(): void;
55607
55835
 
@@ -55649,20 +55877,20 @@ declare function StopCinematicCamShaking(p0: boolean): void;
55649
55877
  declare function StopCinematicShot(p0: string | number): void;
55650
55878
 
55651
55879
  /**
55652
- * STOP_CURRENT_PLAYING_AMBIENT_SPEECH
55880
+ * Stops currently playing ambient speech.
55653
55881
  */
55654
55882
  declare function StopCurrentPlayingAmbientSpeech(ped: number): void;
55655
55883
 
55656
55884
  /**
55657
- * STOP_CURRENT_PLAYING_SPEECH
55885
+ * Stops currently playing speech (Pain, ambient, scripted, breathing).
55658
55886
  */
55659
55887
  declare function StopCurrentPlayingSpeech(ped: number): void;
55660
55888
  /**
55661
- * STOP_CURRENT_PLAYING_SPEECH
55889
+ * Stops currently playing speech (Pain, ambient, scripted, breathing).
55662
55890
  */
55663
55891
  declare function N_0x7a73d05a607734c7(ped: number): void;
55664
55892
  /**
55665
- * STOP_CURRENT_PLAYING_SPEECH
55893
+ * Stops currently playing speech (Pain, ambient, scripted, breathing).
55666
55894
  */
55667
55895
  declare function SetPedMute(ped: number): void;
55668
55896
 
@@ -55673,11 +55901,11 @@ declare function SetPedMute(ped: number): void;
55673
55901
  declare function StopCutscene(p0: boolean): void;
55674
55902
 
55675
55903
  /**
55676
- * STOP_CUTSCENE_AUDIO
55904
+ * Stops audio for the current cutscene.
55677
55905
  */
55678
55906
  declare function StopCutsceneAudio(): void;
55679
55907
  /**
55680
- * STOP_CUTSCENE_AUDIO
55908
+ * Stops audio for the current cutscene.
55681
55909
  */
55682
55910
  declare function N_0x806058bbdc136e06(): void;
55683
55911
 
@@ -55728,14 +55956,29 @@ declare function StopPadShake(padIndex: number): void;
55728
55956
  declare function StopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
55729
55957
 
55730
55958
  /**
55731
- * STOP_PED_RINGTONE
55959
+ * Stops a ped's ringtone from playing
55732
55960
  */
55733
55961
  declare function StopPedRingtone(ped: number): void;
55734
55962
 
55735
55963
  /**
55736
- * STOP_PED_SPEAKING
55964
+ * This doesn't stop a piece of dialogue that has been triggered.
55965
+ * This stops the ability to force ambient dialogue if set to true - however setting it to false, then triggering a context, then setting it to true again will allow this.
55966
+ * Nb. This does not sync over the network, it will only affect peds locally. Use [STOP_PED_SPEAKING_SYNCED](#\_0xAB6781A5F3101470) if you need to affect peds on other machines too.
55967
+ */
55968
+ declare function StopPedSpeaking(ped: number, shouldDisable: boolean): void;
55969
+
55970
+ /**
55971
+ * This doesn't stop a piece of dialogue that has been triggered.
55972
+ * This stops the ability to force ambient dialogue if set to true - however setting it to false, then triggering a context, then setting it to true again will allow this.
55973
+ * The ped will also be prevented from speaking on remote machines. Use [STOP_PED_SPEAKING](#\_0x9D64D7405520E3D3) if you just want to affect the local machine.
55737
55974
  */
55738
- declare function StopPedSpeaking(ped: number, shaking: boolean): void;
55975
+ declare function StopPedSpeakingSynced(ped: number, shouldDisable: boolean): void;
55976
+ /**
55977
+ * This doesn't stop a piece of dialogue that has been triggered.
55978
+ * This stops the ability to force ambient dialogue if set to true - however setting it to false, then triggering a context, then setting it to true again will allow this.
55979
+ * The ped will also be prevented from speaking on remote machines. Use [STOP_PED_SPEAKING](#\_0x9D64D7405520E3D3) if you just want to affect the local machine.
55980
+ */
55981
+ declare function N_0xab6781a5f3101470(ped: number, shouldDisable: boolean): void;
55739
55982
 
55740
55983
  /**
55741
55984
  * STOP_PED_WEAPON_FIRING_WHEN_DROPPED
@@ -55849,10 +56092,21 @@ declare function N_0x1c9d7949fa533490(p0: boolean): void;
55849
56092
  /**
55850
56093
  * STOP_SCRIPTED_CONVERSATION
55851
56094
  */
55852
- declare function StopScriptedConversation(p0: boolean): number;
56095
+ declare function StopScriptedConversation(finishCurrentLine: boolean): number;
56096
+
56097
+ /**
56098
+ * Stops all smoke grenade sounds
56099
+ */
56100
+ declare function StopSmokeGrenadeExplosionSounds(): void;
56101
+ /**
56102
+ * Stops all smoke grenade sounds
56103
+ */
56104
+ declare function N_0xe4e6dd5566d28c82(): void;
55853
56105
 
55854
56106
  /**
55855
- * STOP_SOUND
56107
+ * Stops the sound from currently playing, there isn't a way to resume a sound
56108
+ * after stopping it.
56109
+ * @param soundId The sound id to stop
55856
56110
  */
55857
56111
  declare function StopSound(soundId: number): void;
55858
56112