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



Spectate - xStunt - 05.11.2014

Hi guys!I need a spectate DERBY PLAYERS.
I have a two worlds
1. Freeroam
2. Derby
But if player dropped in derby he star spectating players in freeroam... but need spectating derby players

help pls


Re: Spectate - Ryz - 05.11.2014

you need to change you spec system to advanced.. i mean interior spec system!


Re: Spectate - xStunt - 05.11.2014

srsly? I need spec DERBY PLAYERS


Re: Spectate - DavidBilla - 05.11.2014

When players are in freeroam make a player variable and set it's value to 0, if in DM set to 1.
During spectating check if the variable value of spectating player matches spectated player, if it doesn't switch to spectate next player.