You need to pick those codes which can unlock your desired weapon in the game. Check our post for the same.