Points!
#1

Hi there! How to make a script wich counts team score? I got team_two and team_one . The team who first got 25points wins! Each kill = 1point! If team_two player will kill team_one player the team_two gets +1 point!
Reply
#2

Here's an example :
I'll also assume that you use gTeam

pawn Код:
new team1, team2;

public OnPlayerDeath(playerid, killerid, reason)
{
 
  if(gTeam[killerid] == team_one)
  {
    team1++;
  }
  else if(gTeam[killerid] == team_two)
  {
    team2++;
  }
  return 1;
}
If you get my what I mean.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)