procedure OnWeaponChange(ID, PrimaryNum, SecondaryNum: byte); begin //if (getplayerstat(id,'primary') = 14) and (PrimaryNum = 255) and (getplayerstat(id,'secondary') = SecondaryNum) then throws[id] := throws[id] +1; WriteConsole(0,'[xStats][Debug mode] '+inttostr(getplayerstat(id,'primary'))+', '+inttostr(PrimaryNum)+', '+inttostr(getplayerstat(id,'secondary'))+', '+inttostr(SecondaryNum),$FFFFFF); WriteLn('[xStats][Debug mode] '+inttostr(getplayerstat(id,'primary'))+', '+inttostr(PrimaryNum)+', '+inttostr(getplayerstat(id,'secondary'))+', '+inttostr(SecondaryNum)); end;