setRagdollBlockingFlags
SET_RAGDOLL_BLOCKING_FLAGS0x26695EC767728D84The GTA V native SET_RAGDOLL_BLOCKING_FLAGS of the PED namespace, as LS:MP client scripts call it: the global function setRagdollBlockingFlags, in JavaScript and in Lua.
setRagdollBlockingFlags(ped: Ped, blockingFlag: number): voidsetRagdollBlockingFlags(ped: Ped, blockingFlag: integer)Usage
JavaScript
setRagdollBlockingFlags(ped, blockingFlag);Lua
setRagdollBlockingFlags(ped, blockingFlag)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
blockingFlag | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Works for both player and peds,
Reference
- Namespace
- Ped PED
- In the game
void SET_RAGDOLL_BLOCKING_FLAGS(Ped ped, int blockingFlag)- Hash
0x26695EC767728D84- Formerly
_SET_PED_RAGDOLL_BLOCKING_FLAGS