14.08.2011, 02:30
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])
{
new KScore;
KScore = GetPlayerScore(killerid);
SetPlayerScore(killerid, KScore +200);
}
if(AccInfo[playerid][LoggedIn] == 1)
{
new PScore;
PScore = GetPlayerScore(playerid);
SetPlayerScore(killerid, PScore +200);
}
}
}