diff --git a/AUDIO/N_0x70b8ec8fc108a634.md b/AUDIO/N_0x70b8ec8fc108a634.md deleted file mode 100644 index 552adfda0..000000000 --- a/AUDIO/N_0x70b8ec8fc108a634.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -ns: AUDIO ---- -## _0x70B8EC8FC108A634 - -```c -// 0x70B8EC8FC108A634 0x95050CAD -void _0x70B8EC8FC108A634(BOOL p0, Any p1); -``` - - -## Parameters -* **p0**: -* **p1**: - diff --git a/AUDIO/N_0xd2dccd8e16e20997.md b/AUDIO/N_0xd2dccd8e16e20997.md deleted file mode 100644 index 3277c8bf2..000000000 --- a/AUDIO/N_0xd2dccd8e16e20997.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -ns: AUDIO ---- -## _0xD2DCCD8E16E20997 - -```c -// 0xD2DCCD8E16E20997 -void _0xD2DCCD8E16E20997(Any p0); -``` - - -## Parameters -* **p0**: - diff --git a/AUDIO/RemoveEntityFromAudioMixGroup.md b/AUDIO/RemoveEntityFromAudioMixGroup.md index 169ef0b4c..b1c001596 100644 --- a/AUDIO/RemoveEntityFromAudioMixGroup.md +++ b/AUDIO/RemoveEntityFromAudioMixGroup.md @@ -6,10 +6,12 @@ aliases: ["0x18EB48CFC41F2EA0"] ```c // 0x18EB48CFC41F2EA0 0x308ED0EC -void REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP(Entity entity, float p1); +void REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP(Entity entity, float fadeOut); ``` +Removes an entity from its current mix group. + ## Parameters -* **entity**: -* **p1**: +* **entity**: +* **fadeOut**: Defaults to 0.0 diff --git a/AUDIO/RemovePortalSettingsOverride.md b/AUDIO/RemovePortalSettingsOverride.md index 6b24b20e6..1f711cccd 100644 --- a/AUDIO/RemovePortalSettingsOverride.md +++ b/AUDIO/RemovePortalSettingsOverride.md @@ -6,7 +6,7 @@ aliases: ["0xB4BBFD9CD8B3922B"] ```c // 0xB4BBFD9CD8B3922B 0xD24B4D0C -void REMOVE_PORTAL_SETTINGS_OVERRIDE(char* p0); +void REMOVE_PORTAL_SETTINGS_OVERRIDE(char* portalSettingsName); ``` ``` @@ -18,6 +18,7 @@ void REMOVE_PORTAL_SETTINGS_OVERRIDE(char* p0); AUDIO::_B4BBFD9CD8B3922B("V_MICHAEL_PS_BATHROOM_WITH_WINDOW"); ``` -## Parameters -* **p0**: +For events like cars driving through windows, allows script to unocclude that window +## Parameters +* **portalSettingsName**: diff --git a/AUDIO/RequestAmbientAudioBank.md b/AUDIO/RequestAmbientAudioBank.md index 220fad2b2..efe9e3bbf 100644 --- a/AUDIO/RequestAmbientAudioBank.md +++ b/AUDIO/RequestAmbientAudioBank.md @@ -5,19 +5,16 @@ ns: AUDIO ```c // 0xFE02FFBED8CA9D99 0x23C88BC7 -BOOL REQUEST_AMBIENT_AUDIO_BANK(char* p0, BOOL p1); +BOOL REQUEST_AMBIENT_AUDIO_BANK(char* bankName, BOOL bOverNetwork); ``` -``` -All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/XZ1tmGEz -``` +This native is marked as deprecated internally, please use [REQUEST_SCRIPT_AUDIO_BANK](#_0x2F844A8B08D76685) -``` -NativeDB Added Parameter 3: Any p2 -``` +This native has a new argument on newer game builds: +* **playerBits**: ## Parameters -* **p0**: -* **p1**: +* **bankName**: +* **bOverNetwork**: ## Return value diff --git a/AUDIO/RequestMissionAudioBank.md b/AUDIO/RequestMissionAudioBank.md index 277db5fec..cab0da433 100644 --- a/AUDIO/RequestMissionAudioBank.md +++ b/AUDIO/RequestMissionAudioBank.md @@ -5,19 +5,16 @@ ns: AUDIO ```c // 0x7345BDD95E62E0F2 0x916E37CA -BOOL REQUEST_MISSION_AUDIO_BANK(char* p0, BOOL p1); +BOOL REQUEST_MISSION_AUDIO_BANK(char* bankName, BOOL bOverNetwork); ``` -``` -All occurrences and usages found in b617d: pastebin.com/NzZZ2Tmm -``` +This native is marked as deprecated internally, please use [REQUEST_SCRIPT_AUDIO_BANK](#_0x2F844A8B08D76685) -``` -NativeDB Added Parameter 3: Any p2 -``` +This native has a new argument on newer game builds: +* **playerBits**: ## Parameters -* **p0**: -* **p1**: +* **bankName**: +* **bOverNetwork**: ## Return value diff --git a/AUDIO/RequestScriptAudioBank.md b/AUDIO/RequestScriptAudioBank.md index d72915009..b9bf45e0c 100644 --- a/AUDIO/RequestScriptAudioBank.md +++ b/AUDIO/RequestScriptAudioBank.md @@ -5,19 +5,15 @@ ns: AUDIO ```c // 0x2F844A8B08D76685 0x21322887 -BOOL REQUEST_SCRIPT_AUDIO_BANK(char* p0, BOOL p1); +BOOL REQUEST_SCRIPT_AUDIO_BANK(char* bankName, BOOL bOverNetwork); ``` -``` -All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/AkmDAVn6 -``` - -``` -NativeDB Added Parameter 3: int p2 -``` +This native has a new argument on newer game builds: +* **playerBits**: ## Parameters -* **p0**: -* **p1**: +* **bankName**: +* **bOverNetwork**: ## Return value +Requests and returns true/false if the script audio bank has laoded diff --git a/AUDIO/RequestTennisBank.md b/AUDIO/RequestTennisBank.md new file mode 100644 index 000000000..2263d716c --- /dev/null +++ b/AUDIO/RequestTennisBank.md @@ -0,0 +1,15 @@ +--- +ns: AUDIO +aliases: ["0x4ADA3F19BE4A6047", "_SET_PED_TALK"] +--- +## REQUEST_TENNIS_BANKS + +```c +// 0x4ADA3F19BE4A6047 0x13777A0B +void REQUEST_TENNIS_BANKS(Ped opponentPed); +``` + +Loads the tennis vocalization banks into a couple animal slots. + +## Parameters +* **opponentPed**: diff --git a/AUDIO/ResetTrevorRage.md b/AUDIO/ResetTrevorRage.md index ec3a9118a..7fd7797f3 100644 --- a/AUDIO/ResetTrevorRage.md +++ b/AUDIO/ResetTrevorRage.md @@ -8,4 +8,4 @@ ns: AUDIO void RESET_TREVOR_RAGE(); ``` - +Clears the override set by [OVERRIDE_TREVOR_RAGE](#_0x13AD665062541A7E) diff --git a/AUDIO/ResetVehicleStartupRevSound.md b/AUDIO/ResetVehicleStartupRevSound.md new file mode 100644 index 000000000..c570ae4b9 --- /dev/null +++ b/AUDIO/ResetVehicleStartupRevSound.md @@ -0,0 +1,15 @@ +--- +ns: AUDIO +aliases: ["0xD2DCCD8E16E20997"] +--- +## RESET_VEHICLE_STARTUP_REV_SOUND + +```c +// 0xD2DCCD8E16E20997 +void RESET_VEHICLE_STARTUP_REV_SOUND(Vehicle vehicle); +``` + +Resets the override for [SET_VEHICLE_STARTUP_REV_SOUND](#_0xF1F8157B8C3F171C) + +## Parameters +* **vehicle**: diff --git a/AUDIO/RestartScriptedConversation.md b/AUDIO/RestartScriptedConversation.md index 3c320b572..46f8c36de 100644 --- a/AUDIO/RestartScriptedConversation.md +++ b/AUDIO/RestartScriptedConversation.md @@ -8,4 +8,4 @@ ns: AUDIO void RESTART_SCRIPTED_CONVERSATION(); ``` - +Restarts a conversation that was previously paused with [PAUSE_SCRIPTED_CONVERSATION](#_0x8530AD776CD72B12) diff --git a/AUDIO/ScriptOverridesWindElevation.md b/AUDIO/ScriptOverridesWindElevation.md new file mode 100644 index 000000000..6e434cb54 --- /dev/null +++ b/AUDIO/ScriptOverridesWindElevation.md @@ -0,0 +1,17 @@ +--- +ns: AUDIO +aliases: ["0x70B8EC8FC108A634"] +--- +## SCRIPT_OVERRIDES_WIND_ELEVATION + +```c +// 0x70B8EC8FC108A634 0x95050CAD +void SCRIPT_OVERRIDES_WIND_ELEVATION(BOOL override, cs_type(Any) Hash windElevationHashName); +``` + +Overrides wind elevation sounds + +## Parameters +* **override**: +* **windElevationHashName**: + diff --git a/AUDIO/SetPedTalk.md b/AUDIO/SetPedTalk.md deleted file mode 100644 index 8023d2e8f..000000000 --- a/AUDIO/SetPedTalk.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -ns: AUDIO -aliases: ["0x4ADA3F19BE4A6047"] ---- -## _SET_PED_TALK - -```c -// 0x4ADA3F19BE4A6047 0x13777A0B -void _SET_PED_TALK(Ped ped); -``` - -``` -Speech related. -``` - -## Parameters -* **ped**: -