OnNPCStreamIn: Difference between revisions
From Onset Developer Wiki
No edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ | {{NPCEvents}} |
Latest revision as of 08:24, 16 January 2020
Description
The event thats called when a NPC is streamed for a player.
Syntax
OnNPCStreamIn(npc, player)
Client Syntax
OnNPCStreamIn(npc)
Parameters
- npc
The NPC identifier for the other player is streamed in. - player
The player that streams in for npc.
Example
-- client side example
AddEvent("OnNPCStreamIn", function(npcid)
SetNPCOutline(npcid, true)
end)