GetStreamedNPC: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the streamed NPC identifiers in a table.}} | ||
{{FuncSyntax|GetStreamedNPC()}} | {{FuncSyntax|GetStreamedNPC()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue|Returns a table with streamed in NPC identifiers.}} | |||
{{FuncReturnValue|Returns a table with streamed in | |||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | <syntaxhighlight lang="Lua"> | ||
local | local npc = GetStreamedNPC() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ | {{NPCFunctions}} |
Revision as of 19:56, 31 December 2019
Description
Get the streamed NPC identifiers in a table.
Syntax
GetStreamedNPC()
Parameters
- This function has no parameters.
Return Value
- Returns a table with streamed in NPC identifiers.
Example
local npc = GetStreamedNPC()
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