-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(audio): batch 24 of native updates (#1020)
* feat(audio): batch 24 of native updates * Rename UseFootsetpScriptSweeteners.md to UseFootstepScriptSweeteners.md Correct filename * Update UpdateUnlockableDjRadioTracks.md Re-add nativedb introduced comment. --------- Co-authored-by: ammonia-cfx <[email protected]>
- Loading branch information
1 parent
f8d1ce9
commit f76d654
Showing
7 changed files
with
59 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x7EC3C679D0E7E46B"] | ||
--- | ||
## UPDATE_SOUND_COORD | ||
|
||
```c | ||
// 0x7EC3C679D0E7E46B | ||
void UPDATE_SOUND_COORD(int soundId, cs_type(Any) float x, cs_type(Any) float y, cs_type(Any) float z); | ||
``` | ||
Updates a playing sounds absolute position. | ||
## Parameters | ||
* **soundId**: | ||
* **x**: | ||
* **y**: | ||
* **z**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["_UPDATE_LSUR"] | ||
--- | ||
## UPDATE_UNLOCKABLE_DJ_RADIO_TRACKS | ||
|
||
```c | ||
// 0x47AED84213A47510 | ||
void UPDATE_UNLOCKABLE_DJ_RADIO_TRACKS(BOOL allowTrackReprioritization); | ||
``` | ||
Unlocks any available DJ radio tracks based on the tuneable status | ||
``` | ||
NativeDB Introduced: v1493 | ||
``` | ||
## Parameters | ||
* **allowTrackReprioritization**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0xBF4DC1784BE94DFA"] | ||
--- | ||
## USE_FOOTSTEP_SCRIPT_SWEETENERS | ||
|
||
```c | ||
// 0xBF4DC1784BE94DFA 0xD99E275B | ||
void USE_FOOTSTEP_SCRIPT_SWEETENERS(Ped ped, BOOL useSweetner, cs_type(Any) Hash soundSetHash); | ||
``` | ||
Allows script to trigger a sweetener footstep sound | ||
## Parameters | ||
* **ped**: | ||
* **useSweetner**: | ||
* **soundSetHash**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters