U mustn't change the ammo to 1000, u've to change the amount of magazines included into your remaining clips, this change also the number of booby traps, it's preferible that u freeze this value and not modify to 1000 or other value like that.
Anyway i've made a similar hack but it doesn't work on servers, i get kicked after some minutes