setCorpseRagdollFriction
SET_CORPSE_RAGDOLL_FRICTION0x2735233A786B1BEFThe 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.
setCorpseRagdollFriction(ped: Ped, p1: number): voidsetCorpseRagdollFriction(ped: Ped, p1: number)Usage
JavaScript
setCorpseRagdollFriction(ped, p1);Lua
setCorpseRagdollFriction(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | float | number | number |
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