As I said, it can be easier. I also save it. But that is becouse I want to say what the new value needs to be.
I made a function for that, I can give every hack type a id, and I can store in that values for every gun.
I only need to give a pointer to the address, the new value, enable or disable and an id for a weapon or a wall. If it is disabled, and you want to disable it. It doesn't change any thing.
Btw, why do have so many ppl trobels with backing-up a value? Ok, you need to save around 500 guns.. So you need to use an array for this... But why are so many ppl afraid for it :S?
You need to use an array, or copy the whole class/list.
So don't backup reload time in a single variable... Becouse if you get a other gun.. That gun will get the wrong value.