SetNPCRagdoll

From Onset Developer Wiki
Revision as of 14:22, 26 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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