SetNPCRespawnTime: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
Created page with "{{Info|Function|Server|1.0.2}} {{FuncDescription|Set the NPC's respawn time.}} {{FuncSyntax|GetNPCRespawnTime(NPC, time)}} {{FuncParameters}} {{FuncParam|NPC|The NPC identi..."
 
28days (talk | contribs)
No edit summary
Line 3: Line 3:
{{FuncDescription|Set the NPC's respawn time.}}
{{FuncDescription|Set the NPC's respawn time.}}


{{FuncSyntax|GetNPCRespawnTime(NPC, time)}}
{{FuncSyntax|SetNPCRespawnTime(NPC, time)}}


{{FuncParameters}}
{{FuncParameters}}

Revision as of 10:56, 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