SA-MP Forums Archive
how to make player spec only his team mate? - 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: how to make player spec only his team mate? (/showthread.php?tid=462346)



how to make player spec only his team mate? - Champ - 06.09.2013

I want to spec system. In which when he is killed. He gets spectate on his team mate and when he hits fire button. The spec changes to another team mate.

I am using gTeam.

pawn Код:
#define TEAM1 1
#define TEAM2 2

new gTeam[MAX_PLAYERS];
Help Please.
Thanks.