how best to reset this:
PHP Code:
enum GLOBAL_STATS
{
global_frags = 0,
global_deaths,
global_assists,
global_headshots,
global_damage,
global_roundsplayed,
global_bombsplanted,
global_bombsdefusals,
global_timeplayed,
global_roundswon,
global_roundsloses,
global_matcheswon,
global_matchesloses,
global_matchesties,
global_1k,
global_2k,
global_3k,
global_4k,
global_5k,
global_1v1,
global_1v2,
global_1v3,
global_1v4,
global_1v5
}
new g_Global_Stats[ 33 ][ GLOBAL_STATS ]
if I try this:
PHP Code:
for(new i = 0 ; i < GLOBAL_STATS ; i++){
g_Global_Stats[id][i] = 0
}
results in this:
Quote:
Warning: Tag mismatch on line 148
Warning: Index tag mismatch (symbol "g_Global_Stats") on line 149
|
__________________