Skip to main content

Vehicle::getIsSubmarineTransformed

Syntax

```js vehicle.getIsSubmarineTransformed(); ```

Return value

  • boolean

Example

```js let vehicle = mp.players.local.vehicle; if (vehicle.getIsSubmarineTransformed() === true) {

   mp.gui.chat.push('Your vehicle is trannsformed into a submarine');

} else {

   mp.gui.chat.push('Your vehicle is not transformed into a submarine.');

} ```

See also