SetPedToRagdoll — RedM Natives
0x83CB5052 · CFX · server
p4/p5: Unusued in TU27 ### Ragdoll Types 0: CTaskNMRelax 1: CTaskNMScriptControl: Hardcoded not to work in networked environments. Else: CTaskNMBalance This is the server-side RPC native equivalent of the client native SET_PED_TO_RAGDOLL.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped to ragdoll. |
| minTime | int | Time(ms) Ped is in ragdoll mode; only applies to ragdoll types 0 and not 1. |
| maxTime | int | |
| ragdollType | int | |
| bAbortIfInjured | BOOL | unused |
| bAbortIfDead | BOOL | unused |
| bForceScriptControl | BOOL |
Returns
void