Перейти к содержанию

Vehicle::setHandbrake

Материал из RAGE MP Wiki Archive

does this work while in air?

Syntax

<syntaxhighlight lang="javascript">vehicle.setHandbrake(toggle);</syntaxhighlight>

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

Client-Side
mp.players.local.vehicle.setHandbrake(true); // brakes the vehicle the player is sitting in

See also