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



random spectate - jaksimaksi - 16.07.2012

How to make that when you die, you are not spectating killer, but random player?



pawn Код:
PlayerSpectatePlayer(playerid, killerid);



Re: random spectate - ViniBorn - 16.07.2012

pawn Код:
PlayerSpectatePlayer(playerid, random(MAX_PLAYERS)); // if is player online



Re: random spectate - MadeMan - 16.07.2012

https://sampforum.blast.hk/showthread.php?tid=352900