GetStreamedNPC
From Onset Developer Wiki
Description
Get the streamed NPC identifiers in a table.
Syntax
GetStreamedNPC()
Parameters
- This function has no parameters.
Return Value
- Returns a table with the streamed in NPC identifiers as values.
Example
for k, v in pairs(GetStreamedNPC()) do
AddPlayerChat("Table key "..k..": npcid: "..v)
end
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