SetVehicleSubmarineTransformed

From GT-MP
Jump to: navigation, search
SetVehicleSubmarineTransformed
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the specified vehicle's submarine transformation.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.setVehicleSubmarineTransformed(LocalHandle vehicle, bool transformed);

Required Arguments

  • vehicle parameter input should be in LocalHandle type.
  • transformed parameter input should be in bool type.

Usage example

In Javascript
Client-Side Function

API.setVehicleSubmarineTransformed(LocalHandle vehicle, bool transformed);

References