Vehicle::setHandbrake: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
Line 7: Line 7:
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
{{ClientsideCode|
// todo
<pre>
</syntaxhighlight>
mp.players.local.vehicle.setHandbrake(true);
</pre>
}}
 
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 22:22, 26 August 2020

does this work while in air?

Syntax

vehicle.setHandbrake(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

Client-Side
mp.players.local.vehicle.setHandbrake(true);

See also