{"hash":"0xF15E8F5D333F09C4","ns":"ENTITY","name":"APPLY_FORCE_TO_ENTITY","slug":"APPLY_FORCE_TO_ENTITY","official":true,"named":true,"luaName":"ApplyForceToEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"forceFlags","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"offX","type":"float"},{"name":"offY","type":"float"},{"name":"offZ","type":"float"},{"name":"boneIndex","type":"int"},{"name":"isDirectionRel","type":"BOOL"},{"name":"ignoreUpVec","type":"BOOL"},{"name":"isForceRel","type":"BOOL"},{"name":"p12","type":"BOOL"},{"name":"p13","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xC5F68BE9613E2D18","gtaJhash":"0xC1C0855A","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ENTITY/APPLY_FORCE_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/APPLY_FORCE_TO_ENTITY.md","snippets":{"lua":"ApplyForceToEntity(entity, forceFlags, x, y, z, offX, offY, offZ, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13)","luaInvoke":"Citizen.InvokeNative(0xF15E8F5D333F09C4, entity, forceFlags, x, y, z, offX, offY, offZ, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13)","js":"ApplyForceToEntity(entity, forceFlags, x, y, z, offX, offY, offZ, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);","jsInvoke":"Citizen.invokeNative('0xF15E8F5D333F09C4', entity, forceFlags, x + 0.0000001, y + 0.0000001, z + 0.0000001, offX + 0.0000001, offY + 0.0000001, offZ + 0.0000001, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);","csharp":"Function.Call((Hash)0xF15E8F5D333F09C4, entity, forceFlags, x, y, z, offX, offY, offZ, boneIndex, isDirectionRel, ignoreUpVec, isForceRel, p12, p13);","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."]}}