[This is preliminary documentation and is subject to change.]
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
Parameters
- vehicle
- Type: RageVehicle
The Vehicle to enter. - timeOut
- Type: SystemInt32
The time out in milliseconds, to allow the task to complete. If the task times out, the Ped will be warped into the specified Vehicle. - seatIndex
- Type: SystemInt32
The index of the seat the Ped should get onto.
If the specified index is -1, the Ped will get into the driver's seat.
If the specified index is -2, the Ped will get into any free seat (TODO: VERIFY!).
For regular cars, usually the seats are indexed as follows:
Index Seat 0 Passenger seat 1 Left rear 2 Right rear
Return Value
Type: TaskAn instance of Task that can be used to retrieve information about the task.
See Also