is vehicle stream for player - 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: is vehicle stream for player (
/showthread.php?tid=656722)
is vehicle stream for player -
NightMrOver - 22.07.2018
Hi,
How to check is is vehicle streamed for player?
Re: is vehicle stream for player -
NaS - 22.07.2018
If you want to do this for a specific vehicle and player you can use the callback OnVehicleStreamIn and OnVehicleStreamOut. You can keep track of the state with a global variable or array if needed for multiple players.