Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ImGui::TreeNode("Attachment")) {
- if (ImGui::Button("PowerfulFabricEnhancer01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer05")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer05" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer06")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer06" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer07")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer07" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("PowerfulFabricEnhancer08")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.PowerfulFabricEnhancer08" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer05")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer05" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer06")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer06" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer07")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer07" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer09")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer09" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer10")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer10" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer11")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer11" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer12")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer12" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer13")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer13" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleFabricEnhancer14")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleFabricEnhancer14" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod11")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod11" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod12")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod12" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod13")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod13" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod16")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod16" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("SimpleWeaponMod17")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.SimpleWeaponMod17" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TygerMeleeWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TygerMeleeWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TygerRangedWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TygerRangedWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("ValentinosMeleeWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.ValentinosMeleeWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("ValentinosRangedWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.ValentinosRangedWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_long_01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_long_01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_long_02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_long_02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_long_03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_long_03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_long_04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_long_04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_short_01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_short_01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_short_02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_short_02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_short_03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_short_03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_short_04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_short_04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_short_05")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_short_05" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_sniper_01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_sniper_01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_att_scope_sniper_02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_att_scope_sniper_02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_silencer_01")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_silencer_01" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_silencer_02")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_silencer_02" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_silencer_03")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_silencer_03" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("w_silencer_04")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.w_silencer_04" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("WraithsMeleeWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.WraithsMeleeWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("WraithsRangedWeaponMod")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.WraithsRangedWeaponMod" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- ImGui::TreePop();
- }
- if (ImGui::TreeNode("Alcohol")) {
- if (ImGui::Button("GoodQualityAlcohol1")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol1" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("GoodQualityAlcohol2")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol2" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("GoodQualityAlcohol3")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol3" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("GoodQualityAlcohol4")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol4" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("GoodQualityAlcohol5")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol5" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("GoodQualityAlcohol6")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.GoodQualityAlcohol6" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol1")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol1" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol2")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol2" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol3")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol3" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol4")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol4" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol5")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol5" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol6")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol6" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol7")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol7" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol8")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol8" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("LowQualityAlcohol9")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.LowQualityAlcohol9" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol1")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol1" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol2")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol2" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol3")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol3" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol4")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol4" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol5")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol5" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol6")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol6" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("MediumQualityAlcohol7")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.MediumQualityAlcohol7" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("NomadsAlcohol1")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.NomadsAlcohol1" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("NomadsAlcohol2")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.NomadsAlcohol2" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol1")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol1" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol2")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol2" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol3")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol3" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol4")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol4" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol5")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol5" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol6")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol6" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- if (ImGui::Button("TopQualityAlcohol7")) {
- std::string doublequote = "\"";
- std::string power = "Game.AddToInventory(" + doublequote;
- std::string ofdark = "Items.TopQualityAlcohol7" + doublequote;
- std::string ofdarkside = power + ofdark;
- std::string powerof = ofdarkside + ", 1)";
- char* commandline = new char[powerof.length() + 1];
- strcpy(commandline, powerof.c_str());
- Scripting::Get().ExecuteLua(commandline);
- std::memset(commandline, 0, sizeof(commandline));
- }
- ImGui::TreePop();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement