i test it and work probably
your cod is not work
Code:
public team_score()
{
new team[32];
read_data(1,team,31);
if (team[0] == 'C')
{
ct_score++
}
else if (team[0] == 'T')
{
terrorist_score++
}
}
but this cod is true
Code:
public team_score()
{
new team[32];
read_data(1,team,31);
if (equal(team,"CT"))
{
ct_score = read_data(2);
}
else if (equal(team,"TERRORIST"))
{
terrorist_score = read_data(2);
}
}
i test your last post
and this attach file is work true