SA-MP Forums Archive
IsPlayerStreamedIn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsPlayerStreamedIn (/showthread.php?tid=608983)



IsPlayerStreamedIn - ScIrUsna - 07.06.2016

Hi,

Is this function IsPlayerStreamedIn if player will be in other world or interior he will not be streamed?


Re: IsPlayerStreamedIn - Vince - 07.06.2016

As far as I know this only returns true if the specified player is actually visible on the other player's screen, or would be visible if there weren't any objects blocking the line of sight (i.e. it's not a LOS test). So no, players in other interiors or virtual worlds probably aren't counted as streamed. To be absolutely sure you'd have to test it, though.