From Multi Theft Auto: Wiki
Jump to: navigation, search

Accessories-text-editor.png Script Example Missing Function HandlingSetPercentSubmerged needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

Sets what percentage of the vehicle will be submerged if it enters water. A percentage of 0 means that it will stand on top of the water surface, a value of 100 means that it will immediately sink.


bool handlingSetPercentSubmerged ( handling theHandling, float percentage )

Required Arguments

  • theHandling: the handling of which you want to change the submersion percentage.
  • percentage: the submersion percentage, a value from 0-100.


Returns true on success, false in case of failure.



See Also