Skip to content

Commit

Permalink
feat(audio): batch 7 of native updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AvarianKnight committed Feb 16, 2024
1 parent e51b9be commit b4e53e8
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 29 deletions.
3 changes: 2 additions & 1 deletion AUDIO/IsAnySpeechPlaying.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BOOL IS_ANY_SPEECH_PLAYING(Ped ped);
## Parameters
* **ped**:
* **ped**:
## Return value
Returns true if the specified ped is playing any speech
3 changes: 2 additions & 1 deletion AUDIO/IsAudioSceneActive.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BOOL IS_AUDIO_SCENE_ACTIVE(char* scene);
## Parameters
* **scene**:
* **scene**: the name of the scene
## Return value
Returns true if the script is already running the named scene, false otherwise
7 changes: 2 additions & 5 deletions AUDIO/IsHornActive.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ ns: AUDIO
BOOL IS_HORN_ACTIVE(Vehicle vehicle);
```
```
Checks whether the horn of a vehicle is currently played.
```
## Parameters
* **vehicle**:
* **vehicle**:
## Return value
Returns true if the vehicle is currently playing a horn sound
2 changes: 1 addition & 1 deletion AUDIO/IsMissionCompletePlaying.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ ns: AUDIO
BOOL IS_MISSION_COMPLETE_PLAYING();
```


## Return value
Returns true if the mission complete audio is playing
2 changes: 1 addition & 1 deletion AUDIO/IsMissionCompleteReadyForUi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ aliases: ["0x6F259F82D873B8B8"]
BOOL IS_MISSION_COMPLETE_READY_FOR_UI();
```


## Return value
Returns true if the script should draw the mission complete UI to be in sync with audio.
3 changes: 2 additions & 1 deletion AUDIO/IsMissionNewsStoryUnlocked.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ cs_type(int) BOOL IS_MISSION_NEWS_STORY_UNLOCKED(int newsStory);
```
## Parameters
* **newsStory**:
* **newsStory**:
## Return value
Returns true of the specific story is available to be played back
13 changes: 13 additions & 0 deletions AUDIO/IsMobileInterferenceActive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
ns: AUDIO
aliases: ["0xC8B1B2425604CDD0"]
---
## IS_MOBILE_INTERFERENCE_ACTIVE

```c
// 0xC8B1B2425604CDD0 0x16FB88B5
BOOL IS_MOBILE_INTERFERENCE_ACTIVE();
```

## Return value
Returns true of mobile phone interference is currently happening
2 changes: 1 addition & 1 deletion AUDIO/IsMobilePhoneCallOngoing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ ns: AUDIO
BOOL IS_MOBILE_PHONE_CALL_ONGOING();
```


## Return value
Returns true of a mobile phone call is currently happening.
1 change: 1 addition & 0 deletions AUDIO/IsMobilePhoneRadioActive.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ BOOL IS_MOBILE_PHONE_RADIO_ACTIVE();


## Return value
Returns true if the mobile phone radio is active
1 change: 1 addition & 0 deletions AUDIO/IsMusicOneshotPlaying.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ BOOL IS_MUSIC_ONESHOT_PLAYING();


## Return value
Returns true if a one shot is currently playing or prepared
3 changes: 2 additions & 1 deletion AUDIO/IsPedInCurrentConversation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BOOL IS_PED_IN_CURRENT_CONVERSATION(Ped ped);
## Parameters
* **ped**:
* **ped**:
## Return value
Returns true if the ped is in the currently playing conversation
3 changes: 2 additions & 1 deletion AUDIO/IsPedRingtonePlaying.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BOOL IS_PED_RINGTONE_PLAYING(Ped ped);
## Parameters
* **ped**:
* **ped**:
## Return value
Returns true if the peds ringtone is currently playing
2 changes: 1 addition & 1 deletion AUDIO/IsRadioFadedOut.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ aliases: ["0x0626A247D2405330"]
BOOL IS_RADIO_FADED_OUT();
```


## Return value
Returns true if the radio is currently faded out
1 change: 1 addition & 0 deletions AUDIO/IsRadioRetuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ BOOL IS_RADIO_RETUNING();


## Return value
Returns true if the radio is tuning to a station
15 changes: 0 additions & 15 deletions AUDIO/N_0xc8b1b2425604cdd0.md

This file was deleted.

0 comments on commit b4e53e8

Please sign in to comment.