RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_PED_TO_RAGDOLL

SET_PED_TO_RAGDOLL

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](?\_0xAE99FB955581844A).**

CFX

Signature

lua
SetPedToRagdoll(PlayerPedId(), 0, 0, 0, true, true, true)
-- returns void

Parameters

NameTypeDescription
PedThe ped to ragdoll.
intTime(ms) Ped is in ragdoll mode; only applies to ragdoll types 0 and not 1.
int—
int—
BOOLunused
BOOLunused
BOOL—

Usage

lua
SetPedToRagdoll(PlayerPedId(), 0, 0, 0, true, true, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details