hey all, this is very simple but it just won't work please help me to resolve my problem :'((
Code:
new g_teamScore[2]
public teamScore() {
new team[2]
new maxRounds = get_cvar_num("mp_maxrounds")
read_data(1,team,1)
g_teamScore[(team[0]=='C')? 0 : 1] = read_data(2)
client_print(0,print_chat,"Remaining rounds: %d",maxRounds -(g_teamScore[0] + g_teamScore[1]))
}
This is just the problematic part, i just want to show how many rounds are left before END and it just doesn't count the rounds that have past...like if mp_maxplayers = 5,then it will always say "Remaining rounds! 5"....
PLEASE HELP :'(!
Thx,