| Property | Value |
|---|---|
| Native Name | APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS |
| Hash | 0x31DA7CEC5334DB37 |
| Return Type | void |
| Build | 1207 |
| API Set | client |
| Parameters | entity (Entity), forceType (int), x (float), y (float), z (float), component (int), isDirectionRel (BOOL), isForceRel (BOOL), p8 (BOOL) |
Description: p6/relative - makes the xyz force not relative to world coords, but to something else p7/highForce - setting false will make the force really low
Usage
Lua (Direct):
ApplyForceToEntityCenterOfMass(entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8)
Lua (Hash):
Citizen.InvokeNative(0x31DA7CEC5334DB37, entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8)