15.10.2010, 11:22
so, something like
will work ?
pawn Код:
forward OnPlayerTeamKill(playerid);
public OnPlayerTeamKill(playerid)
{
GivePlayerMoney(playerid, -1000);
SCM(playerid, COLOR_BRIGHTRED, "You have teamkilled, you lost 1000 dollars and 2 score");
SetPlayerScore(playerid,GetPlayerScore(playerid)-2);
return true;
}