Editing Weapons
In the guns.js file, you will find an array of objects representing different weapons. Each weapon is configured with attributes such as name, img, and type. To add or modify a weapon, simply adjust the object structure within this array.
Example snippet from guns.js:
const guns = [
{
name: "Advanced Rifle",
img: "advancedrifle.png",
type: "rifle"
},
{
name: "AP Pistol",
img: "appistol.png",
type: "pistol"
},
];Here, you can edit the name, provide the corresponding image in the html/images/ folder, and categorize the weapon using the type field. You can add as many weapons as you'd like, following this format.
Editing Maps
Similarly, maps can be edited in the maps.js file. Each map is represented by an object with name and img fields. You can customize maps by adding or changing objects within this array.
Example snippet from maps.js:
const maps = [
{
name: "Cargo",
img: "cargo.png"
},
{
name: "Bank",
img: "bank.png"
},
];As with maps, ensure that the image file for each map is stored in the html/images/ folder and properly referenced by the img field.



