Blockland Files > Add-Ons
ResourceMod
<< < (35/56) > >>
Kunit:
Check the list. Near the buy function right now it is Sword, Spear, and Bow I think.
Chrono:
What if I don't use those weapons on my server?
Kunit:
Change the list.
Chrono:
What if I don't know how to script?
Even if I did, how do I figure out what all those numbers mean?
Blinder:
Chrono you dont need to know how to script to put a weapon on the buy menu


--- Code: ---$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");
--- End code ---

Just add:

--- Code: ---$itemPrices["Gun"] = "3 3 0 0 0 0 0 0 0 0 0 0 0 0 100";
$itemImage["Gun"] = nametoid("GunItem");
--- End code ---

and change the Price up (ask kunit more about that)
Navigation
Message Index
Next page
Previous page

Go to full version