SA-MP Forums Archive
How to link 2 spawns to one team? - 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: How to link 2 spawns to one team? (/showthread.php?tid=122328)



How to link 2 spawns to one team? - JoeDaDude - 21.01.2010

How do i link 2 playerclasses to one team?


Re: How to link 2 spawns to one team? - Correlli - 21.01.2010

Example for the class with ID 0 and 1:
pawn Code:
if(classid == 0 || classid == 1) gTeam[playerid] = MY_TEAM;