Chrono you dont need to know how to script to put a weapon on the buy menu
$itemPrices["Sword"] = "1 2 0 0 0 0 0 0 0 0 0 0 0 0 55";
$itemImage["Sword"] = nametoid("SwordItem");
$itemPrices["Spear"] = "2 3 0 0 0 0 0 0 0 0 0 0 0 0 70";
$itemImage["Spear"] = nametoid("SpearItem");
$itemPrices["Bow"] = "3 3 0 0 0 0 0 0 0 0 0 0 0 0 100";
$itemImage["Bow"] = nametoid("BowItem");
Just add:
$itemPrices["Gun"] = "3 3 0 0 0 0 0 0 0 0 0 0 0 0 100";
$itemImage["Gun"] = nametoid("GunItem");
and change the Price up (ask kunit more about that)