10.03.2009, 03:05
what i did on my server is:
pawn Код:
//on player death
if(gTeam[killerid] == gTeam[playerid]) // if the killerid`s team equals the team of the person who got killed
{
// teamkill!
giveplayermoney(killerid,-5000);
setplayerhealth(killerid,1.0);
... etc.....
}