PedClient

setCorpseRagdollFriction

SET_CORPSE_RAGDOLL_FRICTION0x2735233A786B1BEF

The GTA V native SET_CORPSE_RAGDOLL_FRICTION of the PED namespace, as LS:MP client scripts call it: the global function setCorpseRagdollFriction, in JavaScript and in Lua.

SignatureJavaScript
setCorpseRagdollFriction(ped: Ped, p1: number): void
SignatureLua
setCorpseRagdollFriction(ped: Ped, p1: number)

Usage

JavaScript
setCorpseRagdollFriction(ped, p1);
Lua
setCorpseRagdollFriction(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_CORPSE_RAGDOLL_FRICTION(Ped ped, float p1)
Hash
0x2735233A786B1BEF

Open in the interactive natives reference