The Lab
PED native

SET_PED_TO_RAGDOLL_WITH_FALL

returns BOOL14 paramsbuild 1207

Makes ped ragdoll and fall in the direction given by falldirX/Y/Z, returning true on success.

Signature

C
BOOL SET_PED_TO_RAGDOLL_WITH_FALL(Ped ped, int timeMin, int timeMax, int ragdollType, float falldirX, float falldirY, float falldirZ, float p7, float p8, float p9, float p10, float p11, float p12, float p13); // 0xD76632D99E4966C8 b1207

Parameters

#NameType
1pedPed
2timeMinint
3timeMaxint
4ragdollTypeint
5falldirXfloat
6falldirYfloat
7falldirZfloat
8p7float
9p8float
10p9float
11p10float
12p11float
13p12float
14p13float

Facts

Facts about SET_PED_TO_RAGDOLL_WITH_FALL
Name
SET_PED_TO_RAGDOLL_WITH_FALL
Hash
0xD76632D99E4966C8
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xD76632D99E4966C8, -- SET_PED_TO_RAGDOLL_WITH_FALL
  PlayerPedId(), -- Ped ped
  0, -- int timeMin
  0, -- int timeMax
  0, -- int ragdollType
  0.0, -- float falldirX
  0.0, -- float falldirY
  0.0, -- float falldirZ
  0.0, -- float p7
  0.0, -- float p8
  0.0, -- float p9
  0.0, -- float p10
  0.0, -- float p11
  0.0, -- float p12
  0.0 -- float p13
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xD76632D99E4966C8", // SET_PED_TO_RAGDOLL_WITH_FALL
  PlayerPedId(), // Ped ped
  0, // int timeMin
  0, // int timeMax
  0, // int ragdollType
  0.0, // float falldirX
  0.0, // float falldirY
  0.0, // float falldirZ
  0.0, // float p7
  0.0, // float p8
  0.0, // float p9
  0.0, // float p10
  0.0, // float p11
  0.0, // float p12
  0.0, // float p13
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xD76632D99E4966C8, // SET_PED_TO_RAGDOLL_WITH_FALL
  API.PlayerPedId(), // Ped ped
  0, // int timeMin
  0, // int timeMax
  0, // int ragdollType
  0.0f, // float falldirX
  0.0f, // float falldirY
  0.0f, // float falldirZ
  0.0f, // float p7
  0.0f, // float p8
  0.0f, // float p9
  0.0f, // float p10
  0.0f, // float p11
  0.0f, // float p12
  0.0f // float p13
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.