getSubmarineNumberOfAirLeaks
GET_SUBMARINE_NUMBER_OF_AIR_LEAKS0x093D6DDCA5B8FBAEThe GTA V native GET_SUBMARINE_NUMBER_OF_AIR_LEAKS of the VEHICLE namespace, as LS:MP client scripts call it: the global function getSubmarineNumberOfAirLeaks, in JavaScript and in Lua.
getSubmarineNumberOfAirLeaks(submarine: Vehicle): numbergetSubmarineNumberOfAirLeaks(submarine: Vehicle): integerUsage
JavaScript
const result = getSubmarineNumberOfAirLeaks(submarine);Lua
local result = getSubmarineNumberOfAirLeaks(submarine)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
submarine | Vehicle | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Vehicle VEHICLE
- In the game
int GET_SUBMARINE_NUMBER_OF_AIR_LEAKS(Vehicle submarine)- Hash
0x093D6DDCA5B8FBAE- Introduced
- Game build 2189 legacy numbering
- Formerly
_GET_SUBMARINE_CRUSH_DEPTH_WARNING_STATE