Help me with Revenge. [REP ++]
#6

up to global news:

pawn Код:
new LastKiller[MAX_PLAYERS];
and to OnPlayerDeath:

pawn Код:
if(LastKiller[killerid] == playerid)
{
    SendClientMessage(killerid, COLOR, "Revenge! + $5000");
    GivePlayerMoney(killerid, 5000);
}
LastKiller[playerid] = killerid;
its the main script.

edit: sorry, too late.
Reply


Messages In This Thread
Help me with Revenge. [REP ++] - by Configuration - 10.04.2013, 13:22
Re: Help me with Revenge. [REP ++] - by Faisal_khan - 10.04.2013, 13:26
Re: Help me with Revenge. [REP ++] - by Configuration - 10.04.2013, 13:31
Re: Help me with Revenge. [REP ++] - by [XST]O_x - 10.04.2013, 13:38
Re: Help me with Revenge. [REP ++] - by Configuration - 10.04.2013, 13:41
Re: Help me with Revenge. [REP ++] - by Om3n - 10.04.2013, 13:42
Re: Help me with Revenge. [REP ++] - by Configuration - 10.04.2013, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)