TASK ENTER CAR AS PASSENGER
Jump to navigation
Jump to search
Number of parameters: 4 | ||
---|---|---|
Parameter # | Type | Description |
1. | Integer | Char Handle |
2. | Integer | Vehicle Handle |
3. | Integer | Duration (milliseconds) |
4. | Integer | Seat Index (zero based) |
Return value: | ||
Type | Description | |
None |
This function will have the char enter the vehicle as a passenger at the specified seat index. If the char is still trying to get into the vehicle and the "duration" is up, the char will be warped into the vehicle at to seat index.
Works on the player char also.