Killing
#9

Much simpler solution:
pawn Код:
public OnPlayerDeath(playerid, killerid,reason)
{
    if(killerid != INVALID_PLAYER_ID && gTeam[playerid] != gTeam[killerid])
    {
        GivePlayerMoney(killerid,15000);
        SetPlayerScore(killerid,GetPlayerScore(killerid)+10);
    }
    return 1;
}
Reply


Messages In This Thread
Killing - by Karl[NDZ] - 11.05.2012, 15:25
Re: Killing - by iGetty - 11.05.2012, 15:34
Re: Killing - by Karl[NDZ] - 11.05.2012, 15:35
Re: Killing - by iGetty - 11.05.2012, 15:38
Re: Killing - by Karl[NDZ] - 11.05.2012, 15:41
Re: Killing - by iGetty - 11.05.2012, 15:45
Re: Killing - by Revo - 11.05.2012, 15:49
Re: Killing - by Karl[NDZ] - 11.05.2012, 15:49
Re: Killing - by [MG]Dimi - 11.05.2012, 15:58

Forum Jump:


Users browsing this thread: 4 Guest(s)