15.08.2011, 05:53
Here try this.
pawn Код:
if(killerid != 255)
{
new killer[24];
GetPlayerName(killerid, killer, 24);
format(string, sizeof(string), "%s kills %s [%s] ",killer ,name ,deathreason);
if(DMArena[playerid] && DMArena[killerid])
{
GivePlayerMoney(killerid, 3000);
GivePlayerMoney(playerid, -3000);
if(AccInfo[killerid][LoggedIn])
SetPlayerScore(killerid, GetPlayerScore(killerid) + 200);
if(AccInfo[playerid][LoggedIn])
SetPlayerScore(killerid, GetPlayerScore(playerid) - 200);
}
}