30.07.2010, 16:54
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!
new team1, team2;
public OnPlayerDeath(playerid, killerid, reason)
{
if(gTeam[killerid] == team_one)
{
team1++;
}
else if(gTeam[killerid] == team_two)
{
team2++;
}
return 1;
}