diff --git a/AUDIO/IsAnyPositionalSpeechPlaying.md b/AUDIO/IsAnyPositionalSpeechPlaying.md index 2867cd662..6f7244581 100644 --- a/AUDIO/IsAnyPositionalSpeechPlaying.md +++ b/AUDIO/IsAnyPositionalSpeechPlaying.md @@ -9,9 +9,11 @@ aliases: ["0x30CA2EF91D15ADF8"] cs_type(Any) BOOL IS_ANY_POSITIONAL_SPEECH_PLAYING(); ``` +Determines if any ped-independent, positionally-based scripted speech is currently active. This typically includes speech events triggered using [`PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE`](#_0xED640017ED337E45). + ``` NativeDB Introduced: v2189 ``` ## Return value -Returns true if any ped-independent positional scripted speech (ie. triggered using [PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE](#_0xED640017ED337E45)) is currently playing +Returns `true` if any ped-independent positional scripted speech (i.e. triggered using [PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE](#_0xED640017ED337E45)) is currently playing, `false` otherwise. diff --git a/VEHICLE/ForceSubmarineNeurtalBuoyancy.md b/VEHICLE/ForceSubmarineNeurtalBuoyancy.md new file mode 100644 index 000000000..6ce1167d5 --- /dev/null +++ b/VEHICLE/ForceSubmarineNeurtalBuoyancy.md @@ -0,0 +1,20 @@ +--- +ns: VEHICLE +aliases: ["0xC67DB108A9ADE3BE"] +--- +## FORCE_SUBMARINE_NEURTAL_BUOYANCY + +```c +// 0xC67DB108A9ADE3BE +void FORCE_SUBMARINE_NEURTAL_BUOYANCY(Vehicle submarine, int time); +``` + +Forces a submarine to maintain neutral buoyancy for a specified duration, preventing it from rising when unoccupied or without a driver. + +``` +NativeDB Introduced: v2189 +``` + +## Parameters +* **submarine**: The submarine vehicle to apply neutral buoyancy to. +* **time**: The duration in milliseconds for which to maintain neutral buoyancy. diff --git a/VEHICLE/GetSubmarineCrushDepthWarningState.md b/VEHICLE/GetSubmarineCrushDepthWarningState.md deleted file mode 100644 index 1e99e34b4..000000000 --- a/VEHICLE/GetSubmarineCrushDepthWarningState.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -ns: VEHICLE ---- -## _GET_SUBMARINE_CRUSH_DEPTH_WARNING_STATE - -```c -// 0x093D6DDCA5B8FBAE -int _GET_SUBMARINE_CRUSH_DEPTH_WARNING_STATE(Vehicle submarine); -``` - -``` -NativeDB Introduced: v2189 -``` - -## Parameters -* **submarine**: diff --git a/VEHICLE/GetSubmarineIsBelowFirstCrushDepth.md b/VEHICLE/GetSubmarineIsBelowFirstCrushDepth.md deleted file mode 100644 index bff96f569..000000000 --- a/VEHICLE/GetSubmarineIsBelowFirstCrushDepth.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -ns: VEHICLE ---- -## _GET_SUBMARINE_IS_BELOW_FIRST_CRUSH_DEPTH - -```c -// 0x3E71D0B300B7AA79 -BOOL _GET_SUBMARINE_IS_BELOW_FIRST_CRUSH_DEPTH(Vehicle submarine); -``` - -``` -NativeDB Introduced: v2189 -``` - -## Parameters -* **submarine**: diff --git a/VEHICLE/GetSubmarineIsUnderDesignDepth.md b/VEHICLE/GetSubmarineIsUnderDesignDepth.md new file mode 100644 index 000000000..28fa469a0 --- /dev/null +++ b/VEHICLE/GetSubmarineIsUnderDesignDepth.md @@ -0,0 +1,22 @@ +--- +ns: VEHICLE +aliases: ["_GET_SUBMARINE_IS_BELOW_FIRST_CRUSH_DEPTH"] +--- +## GET_SUBMARINE_IS_UNDER_DESIGN_DEPTH + +```c +// 0x3E71D0B300B7AA79 +BOOL GET_SUBMARINE_IS_UNDER_DESIGN_DEPTH(Vehicle submarine); +``` + +Determines if the submarine is operating below its designated crush depth. + +``` +NativeDB Introduced: v2189 +``` + +## Parameters +* **submarine**: The submarine vehicle to be evaluated for being under its crush depth threshold. + +## Return value +Returns `true` if the submarine is below its designated crush depth, `false` otherwise. diff --git a/VEHICLE/GetSubmarineNumberOfAirLeaks.md b/VEHICLE/GetSubmarineNumberOfAirLeaks.md new file mode 100644 index 000000000..3d73aed22 --- /dev/null +++ b/VEHICLE/GetSubmarineNumberOfAirLeaks.md @@ -0,0 +1,22 @@ +--- +ns: VEHICLE +aliases: ["_GET_SUBMARINE_CRUSH_DEPTH_WARNING_STATE"] +--- +## GET_SUBMARINE_NUMBER_OF_AIR_LEAKS + +```c +// 0x093D6DDCA5B8FBAE +int GET_SUBMARINE_NUMBER_OF_AIR_LEAKS(Vehicle submarine); +``` + +Checks if a Submarine has any air leaks, when there is more than 4 the player will drown. + +``` +NativeDB Introduced: v2189 +``` + +## Parameters +* **submarine**: The submarine vehicle to check for air leaks. + +## Return value +Returns the number of air leaks on the submarine. \ No newline at end of file diff --git a/VEHICLE/N_0xc67db108a9ade3be.md b/VEHICLE/N_0xc67db108a9ade3be.md deleted file mode 100644 index 3181168a6..000000000 --- a/VEHICLE/N_0xc67db108a9ade3be.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -ns: VEHICLE ---- -## _0xC67DB108A9ADE3BE - -```c -// 0xC67DB108A9ADE3BE -void _0xC67DB108A9ADE3BE(Any p0, Any p1); -``` - -``` -NativeDB Introduced: v2189 -``` - -## Parameters -* **p0**: -* **p1**: