{"hash":"0xD76632D99E4966C8","ns":"PED","name":"SET_PED_TO_RAGDOLL_WITH_FALL","slug":"SET_PED_TO_RAGDOLL_WITH_FALL","official":true,"named":true,"luaName":"SetPedToRagdollWithFall","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"timeMin","type":"int"},{"name":"timeMax","type":"int"},{"name":"ragdollType","type":"int"},{"name":"falldirX","type":"float"},{"name":"falldirY","type":"float"},{"name":"falldirZ","type":"float"},{"name":"p7","type":"float"},{"name":"p8","type":"float"},{"name":"p9","type":"float"},{"name":"p10","type":"float"},{"name":"p11","type":"float"},{"name":"p12","type":"float"},{"name":"p13","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xD76632D99E4966C8","gtaJhash":"0xFA12E286","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_TO_RAGDOLL_WITH_FALL","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_TO_RAGDOLL_WITH_FALL.md","snippets":{"lua":"local retval = SetPedToRagdollWithFall(ped, timeMin, timeMax, ragdollType, falldirX, falldirY, falldirZ, p7, p8, p9, p10, p11, p12, p13)","luaInvoke":"local retval = Citizen.InvokeNative(0xD76632D99E4966C8, ped, timeMin, timeMax, ragdollType, falldirX, falldirY, falldirZ, p7, p8, p9, p10, p11, p12, p13, Citizen.ReturnResultAnyway())","js":"const retval = SetPedToRagdollWithFall(ped, timeMin, timeMax, ragdollType, falldirX, falldirY, falldirZ, p7, p8, p9, p10, p11, p12, p13);","jsInvoke":"const retval = Citizen.invokeNative('0xD76632D99E4966C8', ped, timeMin, timeMax, ragdollType, falldirX + 0.0000001, falldirY + 0.0000001, falldirZ + 0.0000001, p7 + 0.0000001, p8 + 0.0000001, p9 + 0.0000001, p10 + 0.0000001, p11 + 0.0000001, p12 + 0.0000001, p13 + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xD76632D99E4966C8, ped, timeMin, timeMax, ragdollType, falldirX, falldirY, falldirZ, p7, p8, p9, p10, p11, 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."]}}