SetNPCRagdoll

From Onset Developer Wiki
SetNPCRagdoll

Type: Function
Context: Server
Introduced: v1.0

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