TASK CAR MISSION PED TARGET

From GTAMods Wiki
Revision as of 18:05, 28 February 2011 by Impediment (talk | contribs) (Created page with '{{Native |np=8 |p1t=Integer |p1d=Char Handle |p2t=Integer |p2d=Vehicle Handle |p3t=Integer |p3d=Target Char Handle |p4t=Integer |p4d=Unknown (seems to be "4") |p5t=Float |p5d=Dri…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TASK_CAR_MISSION_PED_TARGET
Number of parameters: 8
Parameter #TypeDescription
1.IntegerChar Handle
2.IntegerVehicle Handle
3.IntegerTarget Char Handle
4.IntegerUnknown (seems to be "4")
5.FloatDriving Speed (possibly KPH)
6.IntegerUnknown (seems to be Driving Style)
7.IntegerUnknown (seems to be "5")
8.IntegerUnknown (seems to be "10")
Return value:
TypeDescription
None


This function will have the char (parameter_1) use the vehicle (parameter_2) to follow the target char (parameter_3). The char (parameter_1) will get in the driver of the vehicle automatically. The char (parameter_1) only seems to follow the target as long as there is distance between the two; the task will end when the char is close enough to target.


Known Driving Styles

Integer Description
1 Abide traffic laws
2 Ignore traffic laws