TASK ENTER CAR AS PASSENGER

From GTAMods Wiki
Jump to navigation Jump to search
TASK_ENTER_CAR_AS_PASSENGER
Number of parameters: 4
Parameter #TypeDescription
1.IntegerChar Handle
2.IntegerVehicle Handle
3.IntegerDuration (milliseconds)
4.IntegerSeat Index (zero based)
Return value:
TypeDescription
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.