SetNPCClothingPreset

From Onset Developer Wiki
Revision as of 18:02, 13 January 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetNPCClothingPreset

Type: Function
Context: Client
Introduced: v1.0

Description

This function sets a predefined clothing preset on an NPC. This is for people who are not interested in setting each clothing item ClothingExample.

Syntax

SetNPCClothingPreset(npc, clothing_preset)

Parameters

  • npc
    The NPC identifier.
  • clothing_preset
    The clothing preset .

Return Value

  • Returns true on success.

Example

SetNPCClothingPreset(npcId, presetId)

See also