HandlingSetMaxVelocity

From Multi Theft Auto: Wiki
Revision as of 22:31, 27 March 2008 by Arc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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