TASK SIT DOWN ON SEAT

From GTAMods Wiki
Revision as of 18:01, 22 March 2015 by FL1K3R (talk | contribs) (Created page with "{{Native |np = 8 |p1t = integer |p1d = Ped handle |p2t = bool |p2d = Unknown (always ''false'') |p3t = bool |p3d = Unknown (always ''false'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TASK_SIT_DOWN_ON_SEAT
Number of parameters: 8
Parameter #TypeDescription
1.integerPed handle
2.boolUnknown (always false)
3.boolUnknown (always false)
4.floatX coordinate
5.floatY coordinate
6.floatZ coordinate
7.floatFacing angle
8.unknownalways negative (-2)
Return value:
TypeDescription
None


This native makes ped sit on seat place (on world point p4 (x), p5 (y), p6 (z)) with specific facing angle (p7) and ped`s own 'seat animation' which can be changed with CHANGE_CHAR_SIT_IDLE_ANIM