02.03.2015, 12:56
If you use gTeam than it should look like
pawn Код:
if(killerid != INVALID_PLAYER_ID) { // thats pretty important because we don't count suicide
if(gTeam[playerid] == TEAM_POLICE && gTeam[killerid] != TEAM_POLICE) {
print("Player killed cop");
}
}