13.11.2010, 05:40
You set team for Textdraw2 which is not created, change to Textdraw0 or Textdraw1
also you check for team twice
with your version
else BallasScore++;
is useless cause it won't be ever executed, same as
else GroveScore++;
also you check for team twice
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
if(gTeam[playerid]==TEAM_SURVIVORS) {
GroveScore--; //otherwise punishment
BallasScore++;
}
else{
BallasScore--; //otherwise punishment
GroveScore++;
}
}
else BallasScore++;
is useless cause it won't be ever executed, same as
else GroveScore++;