Vehicle::getVehicleModelAcceleration: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Returns the acceleration of the specified model.<br><br>For a full list, see here: pastebin.com/GaN6vT4R<br>
Returns the acceleration of the specified model.<br><br>For a full list, see here: pastebin.com/GaN6vT4R<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getVehicleModelAcceleration(modelHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.vehicle.getVehicleModelAcceleration(modelHash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''modelHash:''' Model hash or name
*'''modelHash:''' Model hash or name
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:34, 6 May 2017

Returns the acceleration of the specified model.

For a full list, see here: pastebin.com/GaN6vT4R

Syntax

mp.game.vehicle.getVehicleModelAcceleration(modelHash);

Required Arguments

  • modelHash: Model hash or name

Return value

  • float

Example

// todo

See also