{"hash":"0x31DA7CEC5334DB37","ns":"ENTITY","name":"APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS","slug":"APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS","official":true,"named":true,"luaName":"ApplyForceToEntityCenterOfMass","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"forceType","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"component","type":"int"},{"name":"isDirectionRel","type":"BOOL"},{"name":"isForceRel","type":"BOOL"},{"name":"p8","type":"BOOL"}],"summary":"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","descriptions":[{"source":"alloc8or","format":"text","body":"p6/relative - makes the xyz force not relative to world coords, but to something else\np7/highForce - setting false will make the force really low"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x18FF00FC7EFF559E","gtaJhash":"0x28924E98","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS.md","snippets":{"lua":"ApplyForceToEntityCenterOfMass(entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8)","luaInvoke":"Citizen.InvokeNative(0x31DA7CEC5334DB37, entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8)","js":"ApplyForceToEntityCenterOfMass(entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8);","jsInvoke":"Citizen.invokeNative('0x31DA7CEC5334DB37', entity, forceType, x + 0.0000001, y + 0.0000001, z + 0.0000001, component, isDirectionRel, isForceRel, p8);","csharp":"Function.Call((Hash)0x31DA7CEC5334DB37, entity, forceType, x, y, z, component, isDirectionRel, isForceRel, p8);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}