TASK ENTER CAR AS PASSENGER

From GTAMods Wiki
Revision as of 20:55, 23 February 2011 by Impediment (talk | contribs) (Created page with '{{Native |np=4 |p1t=Integer |p1d=Char Handle |p2t=Integer |p2d=Vehicle Handle |p3t=Integer |p3d=Duration (milliseconds) |p4t=Integer |p4d=Seat Index (zero based) }} This funct…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.