SetNPCRespawnTime
From Onset Developer Wiki
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
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- SetNPCRagdoll
- SetNPCRespawnTime