There is no in-game unlock for this — armed versions of Interactive Buddy were distributed as separate fan-made builds rather than as a feature you switch on.
The practical route is to search for "Interactive Buddy with guns", then work through the results and try the downloads. Stick to sources you trust, since old Flash game mirrors are a common hiding place for unwanted extras, and remember the original Flash player is no longer supported in modern browsers.