{"hash":"0x83CB5052","ns":"CFX","name":"SET_PED_TO_RAGDOLL","slug":"SET_PED_TO_RAGDOLL","official":true,"named":true,"luaName":"SetPedToRagdoll","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped","description":"The ped to ragdoll."},{"name":"minTime","type":"int","description":"Time(ms) Ped is in ragdoll mode; only applies to ragdoll types 0 and not 1."},{"name":"maxTime","type":"int"},{"name":"ragdollType","type":"int"},{"name":"bAbortIfInjured","type":"BOOL","description":"unused"},{"name":"bAbortIfDead","type":"BOOL","description":"unused"},{"name":"bForceScriptControl","type":"BOOL"}],"summary":"p4/p5: Unusued in TU27 Ragdoll Types This is the server-side RPC native equivalent of the client native SET_PED_TO_RAGDOLL.","descriptions":[{"source":"cfx","format":"md","body":"p4/p5: Unusued in TU27\n\n### Ragdoll Types\n\n**0**: CTaskNMRelax\n**1**: CTaskNMScriptControl: Hardcoded not to work in networked environments.\n**Else**: CTaskNMBalance\n\n**This is the server-side RPC native equivalent of the client native [SET_PED_TO_RAGDOLL](?\\_0xAE99FB955581844A).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PED_TO_RAGDOLL","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PED_TO_RAGDOLL.md","snippets":{"lua":"SetPedToRagdoll(ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl)","luaInvoke":"Citizen.InvokeNative(0x83cb5052, ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl)","js":"SetPedToRagdoll(ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl);","jsInvoke":"Citizen.invokeNative('0x83cb5052', ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl);","csharp":"Function.Call((Hash)0x83cb5052, ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl);","notes":[]}}