HandlingSetNumberOfGears: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server function}} Sets the number of gears of a handling element. ==Syntax== <syntaxhighlight lang="lua"> bool handlingSetNumberOfGears ( handling theHandling, int numberOfGears ) </syntaxhighlight> ===...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server function}}
{{Server function}}
{{Needs_Example}}
Sets the number of gears of a handling element.
Sets the number of gears of a handling element.



Revision as of 13:59, 2 October 2016

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

Before submitting check out Editing Guidelines Script Examples.

Sets the number of gears of a handling element.

Syntax

bool handlingSetNumberOfGears ( handling theHandling, int numberOfGears )

Required Arguments

  • theHandling: the handling of which you want to change the number of gears.
  • numberOfGears: the number of gears to set.

Returns

Returns true on success, false in case of failure.

Example

--TODO

See Also