sf_use_ignoreammo = 021CB718 BOUNCING BETTY 018ED724 MALTALVES(FIRE BOTTLES) 018ED680 MONKEY BOMBS 018ED728 GRANADES 018ED674 starting pistol 018ED1FC kar98 018ED1EC ghewer 018ED214 M1CARBINE 018ED218 TRENCH GUN 018ED23C MP40 018ED224 FG42 018ED248 THOMPSON 018ED230 BAR 018ED244 RAY GUN 018ED264 357 MAGNUM 018ED20C DOUBLE BARREL 018ED238 WONDER WAFFLE 018ED268 TYPE 100 018ED234 STG44 018ED22C MG42 018ED24C Browning 018ED240 PTRS41 018ED220 M1 GRANDE 018ED21C LAUNCHER 018ED250
for(int i = 0; i < weapons; i++)
{
weaponAddress += weaponDistance;
Mem.WriteInt(weaponAddress, 1337);
}
weapons is the number of all weapons
weaponAddress is the address of the first weapon
weaponDistance is the value to add to weaponAddress to get the address for the next weapon