jgarrone / OGame: Recursos Ampliados

the script are not showing storages correctly, if they are bigger the 999.999.999

could u fix please?

almacen = parseInt(almacen)/1000;
ret = mostrarNumero(almacen) + " k";
}

I TRIES THIS BUT DIDNT HELP ME...

almacen = parseInt(almacen)/1000000;
ret = mostrarNumero(almacen) + " M";
}