APPLY_FORCE_TO_PED
Usage
Game.ApplyForceToPed(charIndex, type, forceX, forceY, forceZ, offsetX, offsetY, offsetZ, component, localForce, localOffset, scaleByMass)
Apply a force to an char.
Parameters
charIndexintegerinttypeintegerintforceXnumberfloatforceYnumberfloatforceZnumberfloatoffsetXnumberfloatoffsetYnumberfloatoffsetZnumberfloatcomponentintegerintlocalForcebooleanboollocalOffsetbooleanboolscaleByMassbooleanbool
Returns
Nothing
Original declaration
// 0x7305301D
void APPLY_FORCE_TO_PED(int charIndex, int type, float forceX, float forceY, float forceZ, float offsetX, float offsetY, float offsetZ, int component, bool localForce, bool localOffset, bool scaleByMass);