APPLY FORCE TO PED

From GTAModding
Jump to: navigation, search
APPLY_FORCE_TO_PED
Number of parameters: 12
Parameter 1integerPed Id
Parameter 2bool Unknown, suggested: true
Parameter 3float X Force
Parameter 4float Y Force
Parameter 5float Z Force
Parameter 6float X Angle
Parameter 7floatY Angle
Parameter 8floatZ Angle
Parameter 9boolUnknown, suggested: true
Parameter 10boolIsForceDirectionReletive
Parameter 11boolUnknown, suggested: true
Parameter 12boolUnknown, suggested: true
Returned value:
Is present?TypeDescription
None

Applies force to an ped. P6, P7 and P8 does not seem to work in animated or ragdolled state.

P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false).

This section is incomplete. You can help by fixing and expanding it.

Personal tools