Vehicle::defaultEngineBehaviour

From RAGE Multiplayer Wiki
Revision as of 22:11, 16 December 2018 by MrPancakers (talk | contribs) (Created page with "Lets you disable the default engine behaviour (when you enter a vehicle, the player automatically turns on the engine). Setting this to false will stop the player from turning...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lets you disable the default engine behaviour (when you enter a vehicle, the player automatically turns on the engine). Setting this to false will stop the player from turning the engine on.

Syntax

mp.game.vehicle.defaultEngineBehaviour = enabled;

Parameters

  • enabled: Boolean

Examples

Simply disables people from turning on their engine within the server.

mp.game.vehicle.defaultEngineBehaviour = false;

See also