HandlingSetMaxVelocity

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

Sets the maximum velocity of a handling element (the peak speed of the vehicle).

Syntax

bool handlingSetMaxVelocity ( handling theHandling, float velocity )

Required Arguments

  • theHandling: the handling of which you want to change the maximum velocity.
  • velocity: the new maximum velocity to set.

Returns

Returns true on success, false in case of failure.

Example

--TODO

See Also