IsPlayerStreamedIn
Revision as of 15:44, 15 March 2022 by 137.97.101.184 (talk) (Created page with "{{Welcome| desc=Checks if a player is streamed in for an NPC. Only nearby players are streamed in.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::pla...")
Description:
Checks if a player is streamed in for an NPC. Only nearby players are streamed in.
Parameters:
(playerid)
playerid: The ID of the player to check if streamed in.
Return Values:
true, if the player is streamed in.
false, if the player is not streamed in.
Example
if(IsPlayerStreamedIn(playerid)) { //Do something ! }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.