TASK SIT DOWN ON SEAT

From GTAMods Wiki
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