[HELP] OnPlayerDeath
#5

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);
    }
}
Reply


Messages In This Thread
[HELP] OnPlayerDeath - by Yaszine - 14.08.2011, 02:02
Re: [HELP] OnPlayerDeath - by Backwardsman97 - 14.08.2011, 02:30
Re : [HELP] OnPlayerDeath - by Yaszine - 14.08.2011, 18:30
Re : [HELP] OnPlayerDeath - by Yaszine - 15.08.2011, 02:25
Re: [HELP] OnPlayerDeath - by Backwardsman97 - 15.08.2011, 05:53

Forum Jump:


Users browsing this thread: 3 Guest(s)