SetNPCRagdoll
From Onset Developer Wiki
Description
Set the NPC's ragdoll status.
Syntax
SetNPCRagdoll(npcid, bEnable)
Parameters
- npcid
The NPC identifier. - bEnable
true to enable.
Return Value
- Returns true on success.
Example
SetNPCRagdoll(npcid, true)
See also
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- SetNPCRagdoll
- SetNPCRespawnTime