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
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server function}}
{{Server function}}
{{Deprecated}}
Sets the number of gears of a handling element.
Sets the number of gears of a handling element.



Latest revision as of 09:57, 21 June 2019

Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does.

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