@citizenfx/client 2.0.7630-1 → 2.0.7660-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/natives_universal.d.ts +110 -85
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -1748,6 +1748,21 @@ declare function AreOutriggerLegsDeployed(vehicle: number): boolean;
|
|
|
1748
1748
|
*/
|
|
1749
1749
|
declare function N_0x3a9128352eac9e85(vehicle: number): boolean;
|
|
1750
1750
|
|
|
1751
|
+
/**
|
|
1752
|
+
* Queries whether the control panels of a plane are intact. This native is used to determine the operational status of a plane's cockpit controls, which can affect the plane's flyability.
|
|
1753
|
+
* @param vehicle The vehicle to check. This should be a plane.
|
|
1754
|
+
* @param checkForZeroHealth If set to `true`, the native also checks if the plane's health is zero, indicating it is completely destroyed. If `false`, only the state of the control panels is considered.
|
|
1755
|
+
* @return Returns `true` if the plane's control panels are intact, and, depending on the `checkForZeroHealth` parameter, the plane is not completely destroyed. Returns `false` if the control panels are damaged or the plane is destroyed (when `checkForZeroHealth` is `true`).
|
|
1756
|
+
*/
|
|
1757
|
+
declare function ArePlaneControlPanelsIntact(vehicle: number, checkForZeroHealth: boolean): boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* Queries whether the control panels of a plane are intact. This native is used to determine the operational status of a plane's cockpit controls, which can affect the plane's flyability.
|
|
1760
|
+
* @param vehicle The vehicle to check. This should be a plane.
|
|
1761
|
+
* @param checkForZeroHealth If set to `true`, the native also checks if the plane's health is zero, indicating it is completely destroyed. If `false`, only the state of the control panels is considered.
|
|
1762
|
+
* @return Returns `true` if the plane's control panels are intact, and, depending on the `checkForZeroHealth` parameter, the plane is not completely destroyed. Returns `false` if the control panels are damaged or the plane is destroyed (when `checkForZeroHealth` is `true`).
|
|
1763
|
+
*/
|
|
1764
|
+
declare function N_0xf78f94d60248c737(vehicle: number, checkForZeroHealth: boolean): boolean;
|
|
1765
|
+
|
|
1751
1766
|
/**
|
|
1752
1767
|
* ARE_PLANE_PROPELLERS_INTACT
|
|
1753
1768
|
*/
|
|
@@ -25496,16 +25511,6 @@ declare function N_0x265635150fb0d82e(): void;
|
|
|
25496
25511
|
*/
|
|
25497
25512
|
declare function N_0x26d7399b9587fe89(p0: number): void;
|
|
25498
25513
|
|
|
25499
|
-
/**
|
|
25500
|
-
* 0x26D99D5A82FD18E8
|
|
25501
|
-
*/
|
|
25502
|
-
declare function N_0x26d99d5a82fd18e8(p0: number): void;
|
|
25503
|
-
|
|
25504
|
-
/**
|
|
25505
|
-
* NativeDB Introduced: v1290
|
|
25506
|
-
*/
|
|
25507
|
-
declare function N_0x26e13d440e7f6064(vehicle: number, value: number): void;
|
|
25508
|
-
|
|
25509
25514
|
/**
|
|
25510
25515
|
* 0x26F07DD83A5F7F98
|
|
25511
25516
|
*/
|
|
@@ -30064,11 +30069,6 @@ declare function N_0xed5fd7af10f5e262(p0: number, p1: number, p2: number, p3: nu
|
|
|
30064
30069
|
*/
|
|
30065
30070
|
declare function N_0xed76d195e6e3bf7f(p0: number, p1: number, p2: number, p3: number): void;
|
|
30066
30071
|
|
|
30067
|
-
/**
|
|
30068
|
-
* 0xEDBC8405B3895CC9
|
|
30069
|
-
*/
|
|
30070
|
-
declare function N_0xedbc8405b3895cc9(p0: number, p1: number): void;
|
|
30071
|
-
|
|
30072
30072
|
/**
|
|
30073
30073
|
* 0xEDBF6C9B0D2C65C8
|
|
30074
30074
|
*/
|
|
@@ -30246,11 +30246,6 @@ declare function N_0xf6f4383b7c92f11a(p0: number): void;
|
|
|
30246
30246
|
*/
|
|
30247
30247
|
declare function N_0xf78b803082d4386f(p0: number): void;
|
|
30248
30248
|
|
|
30249
|
-
/**
|
|
30250
|
-
* 0xF78F94D60248C737
|
|
30251
|
-
*/
|
|
30252
|
-
declare function N_0xf78f94d60248c737(vehicle: number, p1: boolean): boolean;
|
|
30253
|
-
|
|
30254
30249
|
/**
|
|
30255
30250
|
* 0xF814FEC6A19FD6E0
|
|
30256
30251
|
*/
|
|
@@ -39297,6 +39292,7 @@ declare function RemoveAnimSet(animSet: string): void;
|
|
|
39297
39292
|
|
|
39298
39293
|
/**
|
|
39299
39294
|
* Removes the blip from your map.
|
|
39295
|
+
* **Note:** This function only works on the script that created the blip, if you wish to remove blips created by other scripts, see [`SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT`](#\_0x86A652570E5F25DD).
|
|
39300
39296
|
* @param blip Blip handle to remove.
|
|
39301
39297
|
*/
|
|
39302
39298
|
declare function RemoveBlip(blip: number): void;
|
|
@@ -43632,6 +43628,23 @@ declare function N_0x2632482fd6b9ab87(): void;
|
|
|
43632
43628
|
*/
|
|
43633
43629
|
declare function SetDisableAmbientMeleeMove(player: number, toggle: boolean): void;
|
|
43634
43630
|
|
|
43631
|
+
/**
|
|
43632
|
+
* Disables the additional physics forces applied to BMX bikes that enable them to perform tricks.
|
|
43633
|
+
* ```
|
|
43634
|
+
* NativeDB Introduced: v463
|
|
43635
|
+
* ```
|
|
43636
|
+
* @param disableExtraTrickForces Set to `true` to disable the extra forces applied for tricks on BMX bicycles, making the bike behave more like a regular bicycle without trick capabilities. Set to `false` to allow BMX bikes to perform tricks normally.
|
|
43637
|
+
*/
|
|
43638
|
+
declare function SetDisableBmxExtraTrickForces(disableExtraTrickForces: boolean): void;
|
|
43639
|
+
/**
|
|
43640
|
+
* Disables the additional physics forces applied to BMX bikes that enable them to perform tricks.
|
|
43641
|
+
* ```
|
|
43642
|
+
* NativeDB Introduced: v463
|
|
43643
|
+
* ```
|
|
43644
|
+
* @param disableExtraTrickForces Set to `true` to disable the extra forces applied for tricks on BMX bicycles, making the bike behave more like a regular bicycle without trick capabilities. Set to `false` to allow BMX bikes to perform tricks normally.
|
|
43645
|
+
*/
|
|
43646
|
+
declare function N_0x26d99d5a82fd18e8(disableExtraTrickForces: boolean): void;
|
|
43647
|
+
|
|
43635
43648
|
/**
|
|
43636
43649
|
* SET_DISABLE_BREAKING
|
|
43637
43650
|
*/
|
|
@@ -43646,11 +43659,51 @@ declare function SetDisableDecalRenderingThisFrame(): void;
|
|
|
43646
43659
|
*/
|
|
43647
43660
|
declare function N_0x4b5cfc83122df602(): void;
|
|
43648
43661
|
|
|
43662
|
+
/**
|
|
43663
|
+
* Prevents a vehicle from exploding upon sustaining body damage from physical collisions. This can be used to increase the durability of vehicles in high-impact scenarios, such as races or combat situations, by preventing them from being destroyed due to collision-induced body damage.
|
|
43664
|
+
* For helicopters, you might want to check [`SET_DISABLE_HELI_EXPLODE_FROM_BODY_DAMAGE`](#\_0xEDBC8405B3895CC9) instead.
|
|
43665
|
+
* ```
|
|
43666
|
+
* NativeDB Introduced: v1290
|
|
43667
|
+
* ```
|
|
43668
|
+
* @param vehicle The vehicle to apply this setting to.
|
|
43669
|
+
* @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
|
|
43670
|
+
*/
|
|
43671
|
+
declare function SetDisableExplodeFromBodyDamageOnCollision(vehicle: number, disableExplode: boolean): void;
|
|
43672
|
+
/**
|
|
43673
|
+
* Prevents a vehicle from exploding upon sustaining body damage from physical collisions. This can be used to increase the durability of vehicles in high-impact scenarios, such as races or combat situations, by preventing them from being destroyed due to collision-induced body damage.
|
|
43674
|
+
* For helicopters, you might want to check [`SET_DISABLE_HELI_EXPLODE_FROM_BODY_DAMAGE`](#\_0xEDBC8405B3895CC9) instead.
|
|
43675
|
+
* ```
|
|
43676
|
+
* NativeDB Introduced: v1290
|
|
43677
|
+
* ```
|
|
43678
|
+
* @param vehicle The vehicle to apply this setting to.
|
|
43679
|
+
* @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
|
|
43680
|
+
*/
|
|
43681
|
+
declare function N_0x26e13d440e7f6064(vehicle: number, disableExplode: boolean): void;
|
|
43682
|
+
|
|
43649
43683
|
/**
|
|
43650
43684
|
* SET_DISABLE_FRAG_DAMAGE
|
|
43651
43685
|
*/
|
|
43652
43686
|
declare function SetDisableFragDamage(object: number, toggle: boolean): void;
|
|
43653
43687
|
|
|
43688
|
+
/**
|
|
43689
|
+
* Prevents a helicopter from exploding due to relatively minor body damage. This native can be particularly useful in gameplay scenarios or missions where helicopters are subject to damage that would not realistically cause an explosion, ensuring they remain operational unless subjected to more significant damage.
|
|
43690
|
+
* ```
|
|
43691
|
+
* NativeDB Introduced: v1103
|
|
43692
|
+
* ```
|
|
43693
|
+
* @param helicopter The helicopter to apply this setting to.
|
|
43694
|
+
* @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
|
|
43695
|
+
*/
|
|
43696
|
+
declare function SetDisableHeliExplodeFromBodyDamage(helicopter: number, disableExplode: boolean): void;
|
|
43697
|
+
/**
|
|
43698
|
+
* Prevents a helicopter from exploding due to relatively minor body damage. This native can be particularly useful in gameplay scenarios or missions where helicopters are subject to damage that would not realistically cause an explosion, ensuring they remain operational unless subjected to more significant damage.
|
|
43699
|
+
* ```
|
|
43700
|
+
* NativeDB Introduced: v1103
|
|
43701
|
+
* ```
|
|
43702
|
+
* @param helicopter The helicopter to apply this setting to.
|
|
43703
|
+
* @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
|
|
43704
|
+
*/
|
|
43705
|
+
declare function N_0xedbc8405b3895cc9(helicopter: number, disableExplode: boolean): void;
|
|
43706
|
+
|
|
43654
43707
|
/**
|
|
43655
43708
|
* Disables wings for `Deluxo` and `Oppressor MK II`. For the Deluxo, it retracts the wings immediately, preventing flight. For the Oppressor Mk II, the wings retract after landing and take-off is not possible, though it can still glide if launched into the air.
|
|
43656
43709
|
* @param vehicle The vehicle to which the toggle will be applied.
|
|
@@ -47064,21 +47117,6 @@ declare function SetPedAudioFootstepLoud(ped: number, toggle: boolean): void;
|
|
|
47064
47117
|
*/
|
|
47065
47118
|
declare function N_0x0653b735bfbdfe87(ped: number, toggle: boolean): void;
|
|
47066
47119
|
|
|
47067
|
-
/**
|
|
47068
|
-
* Enables/disables ped's "quiet" footstep sound.
|
|
47069
|
-
* ```
|
|
47070
|
-
* ```
|
|
47071
|
-
* NativeDB Introduced: v1493
|
|
47072
|
-
*/
|
|
47073
|
-
declare function SetPedAudioFootstepQuiet(ped: number, toggle: boolean): void;
|
|
47074
|
-
/**
|
|
47075
|
-
* Enables/disables ped's "quiet" footstep sound.
|
|
47076
|
-
* ```
|
|
47077
|
-
* ```
|
|
47078
|
-
* NativeDB Introduced: v1493
|
|
47079
|
-
*/
|
|
47080
|
-
declare function N_0x29da3ca8d8b2692d(ped: number, toggle: boolean): void;
|
|
47081
|
-
|
|
47082
47120
|
/**
|
|
47083
47121
|
* _SET_PED_AUDIO_GENDER
|
|
47084
47122
|
*/
|
|
@@ -47305,6 +47343,19 @@ declare function SetPedCapsule(ped: number, value: number): void;
|
|
|
47305
47343
|
*/
|
|
47306
47344
|
declare function SetPedChanceOfFiringBlanks(ped: number, xBias: number, yBias: number): void;
|
|
47307
47345
|
|
|
47346
|
+
/**
|
|
47347
|
+
* NativeDB Introduced: v1493
|
|
47348
|
+
*/
|
|
47349
|
+
declare function SetPedClothEventsEnabled(ped: number, enabled: boolean): void;
|
|
47350
|
+
/**
|
|
47351
|
+
* NativeDB Introduced: v1493
|
|
47352
|
+
*/
|
|
47353
|
+
declare function N_0x29da3ca8d8b2692d(ped: number, enabled: boolean): void;
|
|
47354
|
+
/**
|
|
47355
|
+
* NativeDB Introduced: v1493
|
|
47356
|
+
*/
|
|
47357
|
+
declare function SetPedAudioFootstepQuiet(ped: number, enabled: boolean): void;
|
|
47358
|
+
|
|
47308
47359
|
/**
|
|
47309
47360
|
* SET_PED_CLOTH_PACKAGE_INDEX
|
|
47310
47361
|
*/
|
|
@@ -51393,7 +51444,8 @@ declare function SetThirdPersonAimCamNearClip(distance: number): void;
|
|
|
51393
51444
|
declare function SetThisScriptCanBePaused(toggle: boolean): void;
|
|
51394
51445
|
|
|
51395
51446
|
/**
|
|
51396
|
-
*
|
|
51447
|
+
* Normally, blips can only be removed by the script or resource that created them. However, this native function allows a script to bypass this logic and remove blips from any script.
|
|
51448
|
+
* @param toggle Bool indicating if the script that called this native can remove blips created by other scripts.
|
|
51397
51449
|
*/
|
|
51398
51450
|
declare function SetThisScriptCanRemoveBlipsCreatedByAnyScript(toggle: boolean): void;
|
|
51399
51451
|
|
|
@@ -53131,7 +53183,7 @@ declare function SetVehicleRadioEnabled(vehicle: number, toggle: boolean): void;
|
|
|
53131
53183
|
/**
|
|
53132
53184
|
* SET_VEHICLE_RADIO_LOUD
|
|
53133
53185
|
*/
|
|
53134
|
-
declare function SetVehicleRadioLoud(vehicle: number,
|
|
53186
|
+
declare function SetVehicleRadioLoud(vehicle: number, loud: boolean): void;
|
|
53135
53187
|
|
|
53136
53188
|
/**
|
|
53137
53189
|
* _SET_VEHICLE_RAMP_LAUNCH_MODIFIER
|
|
@@ -53302,22 +53354,14 @@ declare function N_0x1cf38d529d7441d9(vehicle: number, toggle: boolean): void;
|
|
|
53302
53354
|
|
|
53303
53355
|
/**
|
|
53304
53356
|
* Overrides the vehicle's startup engine rev sound.
|
|
53305
|
-
*
|
|
53306
|
-
* ```cpp
|
|
53307
|
-
* AUDIO::SET_VEHICLE_STARTUP_REV_SOUND(l_A42, "Franklin_Bike_Rev", "BIG_SCORE_3A_SOUNDS");
|
|
53308
|
-
* AUDIO::SET_VEHICLE_STARTUP_REV_SOUND(l_166, "Trevor_Revs_Off", "PALETO_SCORE_SETUP_SOUNDS");
|
|
53309
|
-
* ```
|
|
53357
|
+
* You can reset this with [RESET_VEHICLE_STARTUP_REV_SOUND](#\_0xD2DCCD8E16E20997)
|
|
53310
53358
|
*/
|
|
53311
|
-
declare function SetVehicleStartupRevSound(vehicle: number,
|
|
53359
|
+
declare function SetVehicleStartupRevSound(vehicle: number, soundName: string, setName: string): void;
|
|
53312
53360
|
/**
|
|
53313
53361
|
* Overrides the vehicle's startup engine rev sound.
|
|
53314
|
-
*
|
|
53315
|
-
* ```cpp
|
|
53316
|
-
* AUDIO::SET_VEHICLE_STARTUP_REV_SOUND(l_A42, "Franklin_Bike_Rev", "BIG_SCORE_3A_SOUNDS");
|
|
53317
|
-
* AUDIO::SET_VEHICLE_STARTUP_REV_SOUND(l_166, "Trevor_Revs_Off", "PALETO_SCORE_SETUP_SOUNDS");
|
|
53318
|
-
* ```
|
|
53362
|
+
* You can reset this with [RESET_VEHICLE_STARTUP_REV_SOUND](#\_0xD2DCCD8E16E20997)
|
|
53319
53363
|
*/
|
|
53320
|
-
declare function N_0xf1f8157b8c3f171c(vehicle: number,
|
|
53364
|
+
declare function N_0xf1f8157b8c3f171c(vehicle: number, soundName: string, setName: string): void;
|
|
53321
53365
|
|
|
53322
53366
|
/**
|
|
53323
53367
|
* Locks the vehicle's steering to the desired angle, explained below.
|
|
@@ -55125,30 +55169,9 @@ declare function StabiliseEntityAttachedToHeli(vehicle: number, entity: number,
|
|
|
55125
55169
|
declare function N_0x374706271354cb18(vehicle: number, entity: number, p2: number): void;
|
|
55126
55170
|
|
|
55127
55171
|
/**
|
|
55128
|
-
*
|
|
55129
|
-
|
|
55130
|
-
|
|
55131
|
-
* First parameter (char) is the name of the alarm.
|
|
55132
|
-
* Second parameter (bool) is unknown, it does not seem to make a difference if this one is 0 or 1.
|
|
55133
|
-
* ----------
|
|
55134
|
-
* It DOES make a difference but it has to do with the duration or something I dunno yet
|
|
55135
|
-
* ----------
|
|
55136
|
-
* Found in the b617d scripts:
|
|
55137
|
-
* AUDIO::START_ALARM("AGENCY_HEIST_FIB_TOWER_ALARMS", 0);
|
|
55138
|
-
* AUDIO::START_ALARM("AGENCY_HEIST_FIB_TOWER_ALARMS_UPPER", 1);
|
|
55139
|
-
* AUDIO::START_ALARM("AGENCY_HEIST_FIB_TOWER_ALARMS_UPPER_B", 0);
|
|
55140
|
-
* AUDIO::START_ALARM("BIG_SCORE_HEIST_VAULT_ALARMS", a_0);
|
|
55141
|
-
* AUDIO::START_ALARM("FBI_01_MORGUE_ALARMS", 1);
|
|
55142
|
-
* AUDIO::START_ALARM("FIB_05_BIOTECH_LAB_ALARMS", 0);
|
|
55143
|
-
* AUDIO::START_ALARM("JEWEL_STORE_HEIST_ALARMS", 0);
|
|
55144
|
-
* AUDIO::START_ALARM("PALETO_BAY_SCORE_ALARM", 1);
|
|
55145
|
-
* AUDIO::START_ALARM("PALETO_BAY_SCORE_CHICKEN_FACTORY_ALARM", 0);
|
|
55146
|
-
* AUDIO::START_ALARM("PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS", 1);
|
|
55147
|
-
* AUDIO::START_ALARM("PORT_OF_LS_HEIST_SHIP_ALARMS", 0);
|
|
55148
|
-
* AUDIO::START_ALARM("PRISON_ALARMS", 0);
|
|
55149
|
-
* AUDIO::START_ALARM("PROLOGUE_VAULT_ALARMS", 0);
|
|
55150
|
-
*/
|
|
55151
|
-
declare function StartAlarm(alarmName: string, p2: boolean): void;
|
|
55172
|
+
* You should call [PREPARE_ALARM](#\_0x9D74AE343DB65533) and wait for its value to be true before using this
|
|
55173
|
+
*/
|
|
55174
|
+
declare function StartAlarm(alarmName: string, skipStartup: boolean): void;
|
|
55152
55175
|
|
|
55153
55176
|
/**
|
|
55154
55177
|
* Used to prepare a scene where the surrounding sound is muted or a bit changed. This does not play any sound.
|
|
@@ -55571,7 +55594,7 @@ declare function StartPlayerSwitch(_from: number, to: number, flags: number, swi
|
|
|
55571
55594
|
declare function StartPlayerTeleport(player: number, x: number, y: number, z: number, heading: number, teleportWithVehicle: boolean, findCollisionLand: boolean, p7: boolean): void;
|
|
55572
55595
|
|
|
55573
55596
|
/**
|
|
55574
|
-
*
|
|
55597
|
+
* For use with [PRELOAD_SCRIPT_CONVERSATION](#\_0x3B3CAD6166916D87) and [GET_IS_PRELOADED_CONVERSATION_READY](#\_0xE73364DB90778FFA)
|
|
55575
55598
|
*/
|
|
55576
55599
|
declare function StartPreloadedConversation(): void;
|
|
55577
55600
|
|
|
@@ -55625,8 +55648,11 @@ declare function StartSaveStruct(size: number, structName: string): number;
|
|
|
55625
55648
|
|
|
55626
55649
|
/**
|
|
55627
55650
|
* START_SCRIPT_CONVERSATION
|
|
55651
|
+
* @param addToBriefScreen Defaults to true
|
|
55652
|
+
* @param cloneConversation Defaults to false
|
|
55653
|
+
* @param interruptible Defaults to true
|
|
55628
55654
|
*/
|
|
55629
|
-
declare function StartScriptConversation(
|
|
55655
|
+
declare function StartScriptConversation(displaySubtitles: boolean, addToBriefScreen: boolean, cloneConversation: boolean, interruptible: boolean): void;
|
|
55630
55656
|
|
|
55631
55657
|
/**
|
|
55632
55658
|
* Starts a fire:
|
|
@@ -55638,8 +55664,9 @@ declare function StartScriptFire(X: number, Y: number, Z: number, maxChildren: n
|
|
|
55638
55664
|
|
|
55639
55665
|
/**
|
|
55640
55666
|
* START_SCRIPT_PHONE_CONVERSATION
|
|
55667
|
+
* @param addToBriefScreen Defaults to true
|
|
55641
55668
|
*/
|
|
55642
|
-
declare function StartScriptPhoneConversation(
|
|
55669
|
+
declare function StartScriptPhoneConversation(displaySubtitles: boolean, addToBriefScreen: boolean): void;
|
|
55643
55670
|
|
|
55644
55671
|
/**
|
|
55645
55672
|
* See [`START_SHAPE_TEST_LOS_PROBE`](#\_0x7EE9F5D83DD4F90E) for flags.
|
|
@@ -56235,18 +56262,16 @@ declare function StatSetUserId(statName: string | number, value: string, save: b
|
|
|
56235
56262
|
declare function StatSlotIsLoaded(p0: number): boolean;
|
|
56236
56263
|
|
|
56237
56264
|
/**
|
|
56238
|
-
*
|
|
56239
|
-
*
|
|
56240
|
-
* AUDIO::STOP_ALARM("PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS", 1);
|
|
56241
|
-
* First parameter (char) is the name of the alarm.
|
|
56242
|
-
* Second parameter (bool) has to be true (1) to have any effect.
|
|
56265
|
+
* STOP_ALARM
|
|
56266
|
+
* @param instantStop Whether to kill the alarm instantly, or to let the audio system turn it off when it becomes inaudible
|
|
56243
56267
|
*/
|
|
56244
|
-
declare function StopAlarm(alarmName: string,
|
|
56268
|
+
declare function StopAlarm(alarmName: string, instantStop: boolean): void;
|
|
56245
56269
|
|
|
56246
56270
|
/**
|
|
56247
56271
|
* STOP_ALL_ALARMS
|
|
56272
|
+
* @param instantStop Whether to kill the alarm instantly, or to let the audio system turn it off when it becomes inaudible
|
|
56248
56273
|
*/
|
|
56249
|
-
declare function StopAllAlarms(
|
|
56274
|
+
declare function StopAllAlarms(instantStop: boolean): void;
|
|
56250
56275
|
|
|
56251
56276
|
/**
|
|
56252
56277
|
* STOP_ALL_GARAGE_ACTIVITY
|
|
@@ -56270,9 +56295,9 @@ declare function StopAnimTask(ped: number, animDictionary: string, animationName
|
|
|
56270
56295
|
declare function StopAnyPedModelBeingSuppressed(): void;
|
|
56271
56296
|
|
|
56272
56297
|
/**
|
|
56273
|
-
*
|
|
56298
|
+
* Stops the named mixing scene (which was previously started by this script)
|
|
56274
56299
|
*/
|
|
56275
|
-
declare function StopAudioScene(
|
|
56300
|
+
declare function StopAudioScene(sceneName: string): void;
|
|
56276
56301
|
|
|
56277
56302
|
/**
|
|
56278
56303
|
* Stops all mixed scenes which were previously started by this script
|