Hi, I have downloaded the last revision of the statsx.sma from the svn and while I compile it found a little mistake:
This is the part of the code:
Code:
...
// Round start
public eventStartRound()
{
new iTeam, id, i
new iRoundTime
iRoundTime = read_data(1)
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
{
#if defined STATSX_DEBUG
log_amx("Reset round stats")
#endif
...
so the var
iRoundTime get never used, when it should be:
Code:
...
// Round start
public eventStartRound()
{
new iTeam, id, i
new iRoundTime
iRoundTime = read_data(1)
if (iRoundTime == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
{
#if defined STATSX_DEBUG
log_amx("Reset round stats")
#endif
...
Hope this Helps
Atte. Kylix Mynx AltoLAG
__________________