PlayerLimitPlayerToVehicle Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Limits the player to the specified Vehicle. The player will be unable to enter any other Vehicle.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public void LimitPlayerToVehicle(
	Vehicle vehicle
)

Parameters

vehicle
Type: RageVehicle
The Vehicle to limit the player to. If null, the limit will be removed.
See Also

Reference