Spectate random Alive player after death. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spectate random Alive player after death. (
/showthread.php?tid=200075)
Spectate random Alive player after death. -
Koppa, - 17.12.2010
Hello guys!
I've already played in some servers and I saw this system: When you die you spectate a random alive player and if the player that you're spectating dies, I spectate another random alive player.
I've searched and I've found barron.pwn. Kye used two variables, one for the vehicles and one for the observing players, but I could not understant what he did!
My problem is that I want to apply barron's spectating system to a random alive player (I already have variable Alive), and when the spectated player dies make the spectating player spectate another person (I knoew, it's confusing). Can someone please help me? I rly need this!
Thanks a lot, Koppa,