GD Docs

วิธีเชื่อมหน้าต่างเล็กกับกระเป๋า NC

ในไฟล์ html/js/functions.js ของ nc_inventory

อัปเดตล่าสุด

ในไฟล์ html/js/functions.js ของ nc_inventory

text
FUNCTIONS.WillDisplayContextMenu = function (
  { name, type, optionType },
  contexts,
  secondaryName
) {
  if (type === "weapon") {
    contexts.push({
      key: "skin",
      icon: '<iconify-icon icon=""></iconify-icon>',
      title: "RESKIN",
      hide: false,
      func: () => {
        $.post(
          "https://gd_weapon_skin/openMenuWithSkin",
          JSON.stringify({
            weaponName: name,
          })
        );
      },
    });
  }
  return contexts;
};