SA-MP Forums Archive
OnPlayerStreamIn - 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: OnPlayerStreamIn (/showthread.php?tid=597359)



OnPlayerStreamIn - JaKe Elite - 30.12.2015

Is this callback is 100% accurate for the Mask System? Let's just say I have a player in front of me, I wear my /mask in front of the player (streamed in to me). Would it automatically hide the name tag (my name tag) to that player? Note i have placed a code OnPlayerStreamIn to automatically disable the player's nametag if they wore a mask. I know that the callback is called when the player streams in (I am just making sure that it still works to the player who is already streamed in to me)?


Re: OnPlayerStreamIn - Larceny - 30.12.2015

No, it's only called when the player is streamed in.
You have to hide the name tag for all the players when using /mask.