simple question - 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: simple question (
/showthread.php?tid=163783)
simple question -
VictorMartinez - 28.07.2010
SetPlayerTeam(playerid, 0);
zero is still a team, right?
Re: simple question -
Mauzen - 28.07.2010
Yep, in pawn language, everything starts counting at 0, so the teams too.
Re: simple question -
VictorMartinez - 28.07.2010
ok and is there any limit to how many teams I can set
Re: simple question -
Mauzen - 28.07.2010
There is a NO_TEAM defined as 255 in a_samp.inc, so I think 254 is the highest teamnumber you can use.