09.03.2011, 02:13
try this..
pawn Код:
{
if(IsPlayerCop(killerid) || IsPlayerArmy(killerid) || IsPlayerSwat(killerid) && IsPlayerCop(playerid) || IsPlayerArmy(playerid) || IsPlayerSwat(playerid))
{
SendDeathMessage(killerid,playerid,reason);//Remove if you dont want team kills to show
Kick(killerid); //Kick the team killer
}
else
{
SendDeathMessage(killerid,playerid,reason);
}
return 1;
}