SetNPCRespawnTime: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 17: Line 17:


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[GetNPCRespawnTime]]
{{NPCFunctions}}
* [[SetNPCRespawnTime]]

Revision as of 10:57, 6 January 2020

SetNPCRespawnTime

Type: Function
Context: Server
Introduced: v1.0.2

Description

Set the NPC's respawn time.

Syntax

SetNPCRespawnTime(NPC, time)

Parameters

  • NPC
    The NPC identifier.
  • time
    The time in milliseconds.

Return Value

  • Returns true on success.

Example

SetNPCRespawnTime(npc, 10000)

See also