ForceVehicleStop

From Nomad DB
Revision as of 19:19, 16 April 2020 by Cobra (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Forces a player's vehicle to brake instantaneously.

Syntax

ForceVehicleStop(playerEntityId, brakeMode)
  • playerEntityId (string): Entity ID of the player whose vehicle to stop
  • brakeMode (number): Brake strength to use, see Brake Mode

Example

Slows down the player's vehicle quickly.

ForceVehicleStop(GetLocalPlayerEntityId(), 3)

Parameters

Brake Mode

ID Mode
1 Soft
2 Medium
3 Hard

Related Pages