26.01.2010, 03:27
You have as many teams as you want.
Currently when someone joins you say playerTeam[playerid] = 0;(or 1)
So if you want another team just say playerTeam[playerid] = 2;(or 3,4,5,6,7.......)
So you can set it to ANY team, even like.
But as you have a sargent on each team sargeants[2]; you will need to increase this to the number of teams.
So if you have a third team, team 2, you need to put it as sargents[3];
I will be honest, if this doesn't make sense yet, you probably should go to the samp wiki and start reading tutorials.
Currently when someone joins you say playerTeam[playerid] = 0;(or 1)
So if you want another team just say playerTeam[playerid] = 2;(or 3,4,5,6,7.......)
So you can set it to ANY team, even like.
But as you have a sargent on each team sargeants[2]; you will need to increase this to the number of teams.
So if you have a third team, team 2, you need to put it as sargents[3];
I will be honest, if this doesn't make sense yet, you probably should go to the samp wiki and start reading tutorials.