16.03.2016, 02:47
Its easy by creating a new team at the last index of your teams array.
Example:
But if you don't want the system to print messages for unknown team, just edit the SendClientMessageToAll parts where team names are used.
Example:
pawn Code:
new const gTeamData[][e_TEAM_DATA] =
{
{"Germany", 0xFFFF90FF},
{"India", 0xFF90FFFF},
{"Unknown Team", 0x505050FF} // This is the last index i.e. 2
};
new const gCaptureZone[][e_CAPTURE_ZONE] =
{
{"Big Ear", {-437.5,1513.671875, -244.140625,1636.71875}, {-311.0136,1542.9733,75.5625}, 2} // Set the team id to 2
};