Score point and money for each kill [HELP]
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You don't even need a command for that.

pawn Код:
public OnPlayerDeath( playerid, killerid, reason )
{
    if( killerid != INVALID_PLAYER_ID )
    {
        SetPlayerScore( killerid, GetPlayerScore( killerid ) + 1 );
        GivePlayerMoney( killerid, 1000 );
    }
    return 1;
}
^
yes, the killer will get the +1 score and the $1000.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)