Skip to main content

APPLY_FORCE_TO_PED

Game.ApplyForceToPedHash0x7305301D
Usage
Game.ApplyForceToPed(charIndex, type, forceX, forceY, forceZ, offsetX, offsetY, offsetZ, component, localForce, localOffset, scaleByMass)

Apply a force to an char.

Parameters

  • charIndexintegerint
  • typeintegerint
  • forceXnumberfloat
  • forceYnumberfloat
  • forceZnumberfloat
  • offsetXnumberfloat
  • offsetYnumberfloat
  • offsetZnumberfloat
  • componentintegerint
  • localForcebooleanbool
  • localOffsetbooleanbool
  • scaleByMassbooleanbool

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);