team score
#9

Heres the onplayerdeath where the mismatches come from
pawn Код:
//OnPlayerDeath
if(gTeam[playerid] == TEAM_COR)
    {
    teamScore[TEAM_COR]++;
    if(teamScore[TEAM_COR] >= 50)
    {
        GameTextForAll("~w~Corleones Won",5000,3);
        SetTimer("EndGM", 10000,0);
    }
    }
else if(gTeam[playerid] == TEAM_TAT)
    {
    teamScore[TEAM_TAT]++;
    if(teamScore[TEAM_TAT] >= 50)
    {
        GameTextForAll("~y~Tattaglias Won",5000,3);
        SetTimer("EndGM", 10000,0);
    }
    }
else if(gTeam[playerid] == TEAM_CUN)
    {
    teamScore[TEAM_CUN]++;
    if(teamScore[TEAM_CUN] >= 50)
    {
        GameTextForAll("~b~Cuneos Won",5000,3);
        SetTimer("EndGM", 10000,0);
    }
    }
}
And this at my other defines and new's and stuff
pawn Код:
new teamScore[pTeams];
Did I do something wrong?
Reply


Messages In This Thread
team score - by FUNExtreme - 14.11.2008, 22:21
Re: team score - by Rks25 - 14.11.2008, 22:27
Re: team score - by FUNExtreme - 14.11.2008, 22:38
Re: team score - by FUNExtreme - 15.11.2008, 00:06
Re: team score - by kymsar - 15.11.2008, 04:00
Re: team score - by LarzI - 15.11.2008, 14:34
Re: team score - by FUNExtreme - 15.11.2008, 16:49
Re: team score - by LarzI - 15.11.2008, 17:36
Re: team score - by FUNExtreme - 15.11.2008, 17:54
Re: team score - by LarzI - 15.11.2008, 19:21

Forum Jump:


Users browsing this thread: 7 Guest(s)