Vehicle::getVehicleModelMaxSpeed: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Returns max speed (without mods) of the specified vehicle model in m/s.<br><br>For a full list, see here: pastebin.com/AUuHHK06<br><br>GET_VEHICLE_MODEL_*
Returns max speed (without mods) of the specified vehicle model in m/s.<br><br>For a full list, see here: pastebin.com/AUuHHK06<br><br>GET_VEHICLE_MODEL_*
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getVehicleModelMaxSpeed(modelHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.vehicle.getVehicleModelMaxSpeed(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]]

Revision as of 21:35, 6 May 2017

Returns max speed (without mods) of the specified vehicle model in m/s.

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

GET_VEHICLE_MODEL_*

Syntax

mp.game.vehicle.getVehicleModelMaxSpeed(modelHash);

Required Arguments

  • modelHash: Model hash or name

Return value

  • float

Example

// todo

See also