15.07.2009, 10:52
Hey.
I've created 4 teams on my server. There's 2 teams of cops, who are alliated, and 2 more teams called militars, who also are alliated.
#define TEAM_COP 0
#define TEAM_COP2 0
#define TEAM_MILITAR 1
#define TEAM_MILITAR2 1
They are defined by gTeam. My question is... how could I create an anti team killer? But only with him team, for example, TEAM_COP can't kill TEAM_COP2, but can kill TEAM_MILITAR and TEAM_MILITAR2.
Thanks
I've created 4 teams on my server. There's 2 teams of cops, who are alliated, and 2 more teams called militars, who also are alliated.
#define TEAM_COP 0
#define TEAM_COP2 0
#define TEAM_MILITAR 1
#define TEAM_MILITAR2 1
They are defined by gTeam. My question is... how could I create an anti team killer? But only with him team, for example, TEAM_COP can't kill TEAM_COP2, but can kill TEAM_MILITAR and TEAM_MILITAR2.
Thanks