Vehicle::setHalt

From RAGE Multiplayer Wiki
Revision as of 23:47, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This native makes the vehicle stop immediately, as happens when we enter a MP garage.

. distance defines how far it will travel until stopping. Garage doors use 3.0.

. If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer.

Syntax

vehicle.setHalt(distance, killEngine, unknown);

Required Arguments

  • distance: float
  • killEngine: int
  • unknown: Boolean

Return value

  • Undefined

Example

// todo

See also