Team Score..
#1

Hey guys i wonder how i can make it so every kill is +score for a team.The score of each team will be displayed as textdraw.Any help?Thanks .
Reply
#2

Something like this?

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new victimTeam = GetPlayerTeam(playerid),
        killerTeam = GetPlayerTeam(killerid);
    if (killerTeam != victimTeam)
        TeamScore[killerTeam]++;
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)