Share

No Title

Public

18 May 2018

Views: 803

void OnRenderGUI()
{
auto& style = ImGui::GetStyle();
ImGuiIO& io = ImGui::GetIO();
io.IniFilename = GuiFile.c_str();

int w;
int h;



//fading stuff
if (bIsGuiVisible)
if (style.Alpha > 1.f)
style.Alpha = 1.f;
else if (style.Alpha != 1.f)
style.Alpha += 0.01f;
else if (!bIsGuiVisible)
if (style.Alpha < 0.f)
style.Alpha = 0.f;
else if (style.Alpha != 0.f)
style.Alpha -= 0.01f;

ImGui::BeginGroup();

ImGui::Separator();
g_pGui->IconFont();
const char* tabNames[] = {
"A" , "I" ,"B" , "G" , "C" };

static int tabOrder[] = { 0 , 1 , 2 , 3 , 4 };
static int tabSelected = 4;
const bool tabChanged = ImGui::TabLabels(tabNames,
sizeof(tabNames) / sizeof(tabNames[0]),
tabSelected, tabOrder);

ImGui::Columns();



float SpaceLineTitleOne = 120.f;
float SpaceLineTitleTwo = 230.f;
float SpaceLineTitleThr = 460.f;
float SpaceLineTitleFour = 460.f;


float SpaceLineBoxOne = 135.f;
float SpaceLineBoxTwo = 275.f;
float SpaceLineBoxThr = 410.f;
float SpaceLineBoxFour = 475.f;


float SpaceLineOne = 120.f;
float SpaceLineTwo = 240.f;
float SpaceLineThr = 360.f;
float SpaceLineFour = 440.f;

ImGui::EndGroup();
ImGui::SameLine();

if (tabSelected == 0)
{
ImGui::BeginGroup();

static int otherpages = 0;
const char* tabNames[] = { // change these to what you like
"Aimbot Options",
"Weapon Options",
"Trigger Options"
};

static int tabOrder[] = { 0 , 1 , 2 };
const bool tabChanged = ImGui::TabLabels(tabNames, sizeof(tabNames) / sizeof(tabNames[0]), otherpages, tabOrder);

if (otherpages == 0)
{
if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType > 1)
Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType = 1;

if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit > 1)
Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit = 1;

if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot > 5)
Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot = 5;

ImGui::PushItemWidth(110.f);
ImGui::Text("Current Weapon: ");
ImGui::SameLine();
ImGui::Combo("##AimWeapon", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));
ImGui::PopItemWidth();
ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Active", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Active);

if (iWeaponID <= 9)
{
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Autopistol", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_AutoPistol);
}
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Smooth, 1, 300);
ImGui::SliderInt("Fov", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Fov, 1, 300);
ImGui::PopItemWidth();

const char* AimFovType[] = { "Dynamic" , "Static" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Fov Type", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType, AimFovType, IM_ARRAYSIZE(AimFovType));
ImGui::PopItemWidth();

const char* BestHit[] = { "Prefer Manually" , "All Spots" , "No Headshot" , "No Arms/Legs" , "No Arms/Legs/Neck" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Hit Scan", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit, BestHit, IM_ARRAYSIZE(BestHit));
if (ImGui::IsItemHovered())
ImGui::SetTooltip("if disabled then used Aimspot");

ImGui::PopItemWidth();

const char* Aimspot[] = { "Head" , "Neck" , "Lower Neck" , "Body" , "Thorax" , "Chest" , "Right Thigh" ,
"Left Thigh" , "Right Hand" , "Left Hand" , "Right Upperarm" , "Right Forearm" ,
"Left Upperarm" , "Left Forearm" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Hitbox", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot, Aimspot, IM_ARRAYSIZE(Aimspot));
ImGui::PopItemWidth();

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::SliderInt("ShotDelay", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Delay, 0, 200);
ImGui::SliderInt("RCS", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Rcs, 0, 100);
ImGui::PopItemWidth();

ImGui::Spacing();
ImGui::Separator();

if (iWeaponID >= 10 && iWeaponID <= 30)
{
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("RCS FOV", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsFov, 1, 300);
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("RCS Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsSmooth, 1, 300);
ImGui::PopItemWidth();

const char* ClampType[] = { "All Target" , "Shot" , "Shot + Target" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("RCS Clamp", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsClampType, ClampType, IM_ARRAYSIZE(ClampType));
ImGui::PopItemWidth();
}
}

if (otherpages == 1)
{
ImGui::Text("Aimbot Options");
ImGui::Separator();
ImGui::Spacing();
ImGui::Checkbox("Friendly Fire", &Settings::Aimbot::aim_Deathmatch);
ImGui::Checkbox("Auto Wall", &Settings::Aimbot::aim_WallAttack);
ImGui::Checkbox("Check Smoke", &Settings::Aimbot::aim_CheckSmoke);
ImGui::Checkbox("In Air", &Settings::Aimbot::aim_AntiJump);

ImGui::Text("Backtrack Options");
ImGui::Separator();
ImGui::Spacing();
ImGui::Checkbox("Backtrack", &Settings::Aimbot::aim_Backtrack);
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Time (ms)", &Settings::Aimbot::aim_Backtracktime, 1, 200);

ImGui::Text("Anti Aim Options");
ImGui::Separator();
ImGui::Spacing();
ImGui::Checkbox("Legit Anti Aim", &Settings::Misc::misc_LegitAA);
if (ImGui::IsItemHovered())
ImGui::SetTooltip("left + right arrow key to change angles");
ImGui::Checkbox("Silent Aim", &Settings::Misc::misc_LegitAAToggle);

ImGui::Text("Aimbot ESP");
ImGui::Separator();
ImGui::Spacing();
ImGui::Checkbox("Draw FOV", &Settings::Aimbot::aim_DrawFov);
ImGui::Checkbox("Draw Hitbox", &Settings::Aimbot::aim_DrawSpot);
ImGui::Checkbox("Draw Backtrack Ticks", &Settings::Aimbot::aim_DrawBacktrack);

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();
}
if (otherpages == 2)
{
const char* TriggerEnable[] = { "Disable" , "FOV" , "Trace" };
ImGui::PushItemWidth(130.f);
ImGui::Combo("Type", &Settings::Triggerbot::trigger_Enable, TriggerEnable, IM_ARRAYSIZE(TriggerEnable));

ImGui::PushItemWidth(110.f);
ImGui::Text("Current Weapon: ");
ImGui::SameLine();
ImGui::Combo("##AimWeapon", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));
ImGui::PopItemWidth();
ImGui::Separator();
ImGui::Spacing();

ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Friendly Fire", &Settings::Triggerbot::trigger_Deathmatch);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Auto Wall", &Settings::Triggerbot::trigger_WallAttack);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Quick Scope", &Settings::Triggerbot::trigger_FastZoom);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Head Only", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_HeadOnly);


ImGui::Checkbox("Check Smoke", &Settings::Triggerbot::trigger_SmokCheck);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Draw FOV", &Settings::Triggerbot::trigger_DrawFov);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Draw Hitbox", &Settings::Triggerbot::trigger_DrawSpot);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Draw FOV Assist", &Settings::Triggerbot::trigger_DrawFovAssist);

ImGui::Separator();
ImGui::Spacing();

const char* items1[] = { CVAR_KEY_MOUSE5 , CVAR_KEY_MOUSE4 , CVAR_KEY_MOUSE3 };
ImGui::PushItemWidth(130.f);
ImGui::Combo("Key", &Settings::Triggerbot::trigger_Key, items1, IM_ARRAYSIZE(items1));
ImGui::PopItemWidth();
ImGui::SameLine(SpaceLineTwo);

const char* items2[] = { "Hold" , "Press" };
ImGui::PushItemWidth(130.f);
ImGui::Combo("Key Mode", &Settings::Triggerbot::trigger_KeyMode, items2, IM_ARRAYSIZE(items2));
ImGui::PopItemWidth();

ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
//ImGui::SliderInt("Min Distance", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_DistanceMin, 0, 5000);
//ImGui::SliderInt("Max Distance", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_DistanceMax, 0, 5000);
ImGui::SliderInt("Fov", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_Fov, 1, 100);
ImGui::SliderInt("Delay Before", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_DelayBefore, 0, 200);
ImGui::SliderInt("Delay After", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_DelayAfter, 0, 1000);
ImGui::PopItemWidth();

ImGui::Separator();
ImGui::Spacing();

const char* AssistMode[] = { "Disable" , "One Shot" , "Auto" };
ImGui::PushItemWidth(130.f);
ImGui::Combo("Assist", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_Assist, AssistMode, IM_ARRAYSIZE(AssistMode));
ImGui::PopItemWidth();

ImGui::SameLine(SpaceLineTwo);
const char* AssistFovType[] = { "Dynamic" , "Static" };
ImGui::PushItemWidth(130.f);
ImGui::Combo("Assist FOV Type", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_AssistFovType, AssistFovType, IM_ARRAYSIZE(AssistFovType));
ImGui::PopItemWidth();
ImGui::PushItemWidth(355.f);
const char* HitGroup[] = { "All" , "Head + Body" , "Head" };
ImGui::Combo("HitGroup", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_HitGroup, HitGroup, IM_ARRAYSIZE(HitGroup));
ImGui::PopItemWidth();
ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Assist RCS", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_AssistRcs, 0, 100);
ImGui::SliderInt("Assist FOV", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_AssistFov, 1, 300);
ImGui::SliderInt("Assist Smooth", &Settings::Triggerbot::weapon_trigger_settings[iWeaponID].trigger_AssistSmooth, 1, 300);
ImGui::PopItemWidth();

}
}
else if (tabSelected == 1) // Visuals
{
ImGui::BeginGroup();
static int otherpages = 0;
const char* tabNames[] = { // change these to what you like
"Part 1",
"Part 2",
"Part 3"
};
static int tabOrder[] = { 0 , 1 , 2 };
const bool tabChanged = ImGui::TabLabels(tabNames, sizeof(tabNames) / sizeof(tabNames[0]), otherpages, tabOrder);

if (otherpages == 0)
{
const char* items1[] = { "None" , "Box", "Corners" };

ImGui::Text("Visuals");
ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Team", &Settings::Esp::esp_Team);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Enemy", &Settings::Esp::esp_Enemy);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Bomb", &Settings::Esp::esp_Bomb);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Chicken", &Settings::Esp::esp_Chicken);

ImGui::Checkbox("Sound", &Settings::Esp::esp_Sound);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Line", &Settings::Esp::esp_Line);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("OutLine", &Settings::Esp::esp_Outline);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Name", &Settings::Esp::esp_Name);

ImGui::Checkbox("Rank", &Settings::Esp::esp_Rank);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Weapon", &Settings::Esp::esp_Weapon);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Ammo", &Settings::Esp::esp_Ammo);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Player Status", &Settings::Esp::esp_Infoz);

ImGui::Checkbox("Distance", &Settings::Esp::esp_Distance);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Skeleton", &Settings::Esp::esp_Skeleton);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("World Weapon", &Settings::Esp::esp_WorldWeapons);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Radar", &Settings::Radar::rad_Active);

ImGui::Checkbox("World Grenade", &Settings::Esp::esp_WorldGrenade);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Grenade Boxes", &Settings::Esp::esp_BoxNade);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Dynamic Lights", &Settings::Esp::esp_Dlightz);
ImGui::SameLine(SpaceLineThr);
ImGui::Checkbox("Watermarks", &Settings::Esp::esp_Watermark);
Settings::Esp::esp_Time = Settings::Esp::esp_Watermark;

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(339.f);
ImGui::Combo("Box", &Settings::Esp::esp_Style, items1, IM_ARRAYSIZE(items1));
ImGui::PopItemWidth();
}

if (otherpages == 1)
{
ImGui::Text("Visuals");
ImGui::Separator();
ImGui::Spacing();
const char* items2[] = { "Enemy" , "Team" ,"All" , "Only Visible" };

const char* items5[] = { "None" , "Flat" , "Texture" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Chams", &Settings::Esp::esp_Chams, items5, IM_ARRAYSIZE(items5));
ImGui::PushItemWidth(362.f);
ImGui::Combo("Chams Visible", &Settings::Esp::esp_ChamsVisible, items2, IM_ARRAYSIZE(items2));

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::Combo("Visible", &Settings::Esp::esp_Visible, items2, IM_ARRAYSIZE(items2));

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Size", &Settings::Esp::esp_Size, 0, 10);
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Bomb Timer", &Settings::Esp::esp_BombTimer, 0, 65);
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("Bullet Trace", &Settings::Esp::esp_BulletTrace, 0, 3000);

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

const char* items3[] = { "None" , "Number" , "Bottom" , "Left" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Health", &Settings::Esp::esp_Health, items3, IM_ARRAYSIZE(items3));

const char* items4[] = { "None" , "Number" , "Bottom" , "Right" };
ImGui::PushItemWidth(362.f);
ImGui::Combo("Armor", &Settings::Esp::esp_Armor, items4, IM_ARRAYSIZE(items4));

}

if (otherpages == 2)
{
ImGui::Text("Visuals");
ImGui::Separator();
ImGui::Spacing();

const char* iHitSound[] = {
"Off",
"Default",
"Anime",
"Roblox",
"Gamesense",
};

const char* material_items[] = {
"Glass",
"Crystal",
"Gold",
"Dark Chrome",
"Plastic Glass",
"Velvet",
"Crystal Blue",
"Detailed Gold"
};

const char* armtype_items[] = {
"Arms Only",
"Arms + Weapon"
};

ImGui::Checkbox("Chams XQZ", &Settings::Esp::esp_XQZ);
ImGui::Checkbox("Chams Materials", &Settings::Misc::misc_ChamsMaterials);
ImGui::PushItemWidth(362.f);
ImGui::Combo("##CHAMSMATERIALS", &Settings::Misc::misc_ChamsMaterialsList, material_items, ARRAYSIZE(material_items));

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Arms Materials", &Settings::Misc::misc_ArmMaterials);
ImGui::PushItemWidth(362.f);
ImGui::Combo("##ARMMATERIALTYPE", &Settings::Misc::misc_ArmMaterialsType, armtype_items, ARRAYSIZE(armtype_items));
ImGui::SameLine();
ImGui::Text("Type");
ImGui::PushItemWidth(362.f);
ImGui::Combo("##ARMMATERIALS", &Settings::Misc::misc_ArmMaterialsList, material_items, ARRAYSIZE(material_items));
ImGui::SameLine();
ImGui::Text("Material");

ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Hitmarker", &Settings::Esp::esp_HitMarker);
ImGui::PushItemWidth(362.f);
ImGui::Combo("##HITSOUND", &Settings::Esp::esp_HitMarkerSound, iHitSound, ARRAYSIZE(iHitSound));
ImGui::SameLine();
ImGui::Text("Hitmarker Sound");

if (Settings::Esp::esp_HitMarker) ImGui::Checkbox("Hitlogs", &Settings::Esp::esp_hitevent);
}
}
else if (tabSelected == 2) // Skins
{
static int otherpages = 0;
const char* tabNames[] = { // change these to what you like
"SKINCHANGER",
"INVENTORY CHANGER",
"PROFILE CHANGER"
};
static int tabOrder[] = { 0 , 1 , 2 };
const bool tabChanged = ImGui::TabLabels(tabNames, sizeof(tabNames) / sizeof(tabNames[0]), otherpages, tabOrder);

if (otherpages == 0)
{
const char* knife_models_items[] =
{
"Default","Bayonet","Flip","Gut","Karambit" ,"M9 Bayonet",
"Huntsman","Falchion","Bowie","Butterfly","Shadow Daggers"
};

const char* quality_items[] =
{
"Use PaintKit Default",
"Consumer Grade (white)",
"Industrial Grade (light blue)",
"Mil-Spec (darker blue)",
"Restricted (purple)",
"Classified (pinkish purple)",
"Covert (red)",
"Exceedingly Rare (gold)",
};
//[enc_string_enable /]
const char* GlovesType[] = {
"Default",
"Bloodhound",
"Default (Terrorists)",
"Default (Counter-Terrorists)",
"Sporty",
"Slick",
"Handwrap",
"Motorcycle",
"Specialist",
"Hydra"
};

ImGui::Separator();
ImGui::Text("Knife Changer");
ImGui::Separator();

static int iSelectKnifeCTSkinIndex = -1;
static int iSelectKnifeTTSkinIndex = -1;

int iKnifeCTModelIndex = Settings::Skin::knf_ct_model;
int iKnifeTTModelIndex = Settings::Skin::knf_tt_model;

static int iOldKnifeCTModelIndex = -1;
static int iOldKnifeTTModelIndex = -1;

if (iOldKnifeCTModelIndex != iKnifeCTModelIndex && Settings::Skin::knf_ct_model)
iSelectKnifeCTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, false);

if (iOldKnifeTTModelIndex != iKnifeTTModelIndex && Settings::Skin::knf_tt_model)
iSelectKnifeTTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, true);

iOldKnifeCTModelIndex = iKnifeCTModelIndex;
iOldKnifeTTModelIndex = iKnifeTTModelIndex;

string KnifeCTModel = knife_models_items[Settings::Skin::knf_ct_model];
string KnifeTTModel = knife_models_items[Settings::Skin::knf_tt_model];

KnifeCTModel += " Skin##KCT";
KnifeTTModel += " Skin##KTT";

ImGui::PushItemWidth(362.f);
ImGui::Combo("Knife CT Model", &Settings::Skin::knf_ct_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Knife CT Skin", &iSelectKnifeCTSkinIndex, KnifeSkins[iKnifeCTModelIndex].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Knife CT Wear", &g_SkinChangerCfg[WEAPON_KNIFE].flFallbackWear, 0.001f, 1.f);
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::Combo("Knife T Model", &Settings::Skin::knf_tt_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Knife T Skin", &iSelectKnifeTTSkinIndex, KnifeSkins[iKnifeTTModelIndex].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Knife T Wear", &g_SkinChangerCfg[WEAPON_KNIFE_T].flFallbackWear, 0.001f, 1.f);

ImGui::Separator();
ImGui::Text("Skin Changer");
ImGui::Separator();

static int iOldWeaponID = -1;

ImGui::Combo("Weapon##WeaponSelect", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));

iWeaponSelectIndex = pWeaponItemIndexData[iWeaponID];

if (iOldWeaponID != iWeaponID)
iWeaponSelectSkinIndex = GetWeaponSkinIndexFromPaintKit(g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit);

iOldWeaponID = iWeaponID;

string WeaponSkin = pWeaponData[iWeaponID];
WeaponSkin += " Skin";
static int weaponskin = 0;
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray(WeaponSkin.c_str(), &iWeaponSelectSkinIndex, WeaponSkins[iWeaponID].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::Combo("Weapon Quality", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].iEntityQuality, quality_items, IM_ARRAYSIZE(quality_items));
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Weapon Wear", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].flFallbackWear, 0.001f, 1.f);
ImGui::PushItemWidth(362.f);
ImGui::InputInt("Weapon StatTrak", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].nFallbackStatTrak, 1, 100, ImGuiInputTextFlags_CharsDecimal);

ImGui::Separator();
ImGui::Text("Glove Changer");
ImGui::Separator();

ImGui::PushItemWidth(362.f);
ImGui::Combo("Gloves Type", &Settings::Skin::gloves_model, GlovesType, IM_ARRAYSIZE(GlovesType));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Gloves Skin", &Settings::Skin::gloves_skin, GloveSkin[Settings::Skin::gloves_model].Names);
ImGui::Separator();


if (ImGui::Button("Apply##Skin"))
{
if (iWeaponSelectSkinIndex >= 0) {
g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit = WeaponSkins[iWeaponID].SkinPaintKit[iWeaponSelectSkinIndex];
}

if (iSelectKnifeCTSkinIndex >= 0 && Settings::Skin::knf_ct_model > 0) {
Settings::Skin::knf_ct_skin = KnifeSkins[iKnifeCTModelIndex].SkinPaintKit[iSelectKnifeCTSkinIndex];
}
else
{
Settings::Skin::knf_ct_skin = 0;
iSelectKnifeCTSkinIndex = -1;
}

if (iSelectKnifeTTSkinIndex >= 0 && Settings::Skin::knf_tt_model > 0) {
Settings::Skin::knf_tt_skin = KnifeSkins[iKnifeTTModelIndex].SkinPaintKit[iSelectKnifeTTSkinIndex];
}
else
{
Settings::Skin::knf_tt_skin = 0;
iSelectKnifeTTSkinIndex = -1;
}

ForceFullUpdate();
}

//fix it if you want sticker changer
/*

if (ImGui::Checkbox("Sticker Changer", &Settings::Aimbot::weapon_aim_settings[iWeaponID].StickersEnabled))
CL_FullUpdate();


if (Settings::Aimbot::weapon_aim_settings[iWeaponID].StickersEnabled)
{
ImGui::Combo("Slot", &iSlot, Slot, ARRAYSIZE(Slot));
ImGui::Combo("ID", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].iID, [](void* data, int idx, const char** out_text)
{
*out_text = k_stickers.at(idx).name.c_str();
return true;
}, nullptr, k_stickers.size());

ImGui::SliderFloat("Wear ", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].flWear, 0.f, 1.f);
ImGui::SliderInt("Rotation", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].iRotation, 0, 360);
}


if (ImGui::Button(("Apply"), ImVec2(93.f, 20.f)))
CL_FullUpdate();
*/
}

if (otherpages == 1)
{
ImGui::Text("Other Changers");
ImGui::Checkbox("Inventory Changer", &Settings::InvChanger::Inventory_Changer);
if (Settings::InvChanger::Inventory_Changer)
{
ImGui::Text("Skins");
ImGui::Separator();
ImGui::Spacing();
ImGui::Columns(2, nullptr, false);
static int itemidtmp = 0, itemDefinitionIndex = 0, paintKit = 0, paintkit_temp_skin = 0, paintkit_temp_gloves = 0, rarity = 0, seed = 0, raritypick = 0;
static float wear = 0.f;
const char* raritynames[] = { "Default (gray)", "Consumer Grade (white)", "Industrial Grade (light blue)", "Mil-Spec (darker blue)", "Restricted (purple)", "Classified (pinkish purple)", "Covert (red)", "Exceedingly Rare (gold)" };
const char* itemnames[] = { "Desert Eagle", "Dual Berettas", "Five-Seven", "Glock-18", "AK-47", "AUG", "AWP", "FAMAS", "G3SG1", "Galil AR", "M249", "M4A4",
"MAC-10", "P90", "UMP-45", "XM1014", "PP-Bizon", "MAG-7", "Negev", "Sawed-Off", "Tec-9", "P2000", "MP7", "MP9", "Nova", "P250", "SCAR-20", "SG 553", "SSG 08",
"M4A1-S", "USP-S", "CZ75-Auto", "R8 Revolver", "Bayonet", "Flip Knife", "Gut Knife", "Karambit", "M9 Bayonet", "Huntsman Knife", "Falchion Knife", "Bowie Knife", "Butterfly Knife",
"Shadow Daggers", "Sport Gloves", "Driver Gloves", "Hand Wraps", "Moto Gloves", "Specialist Gloves", "Hydra Gloves" };
const int weapons_id[] = { WEAPON_DEAGLE, WEAPON_ELITE, WEAPON_FIVESEVEN, WEAPON_GLOCK, WEAPON_AK47, WEAPON_AUG, WEAPON_AWP, WEAPON_FAMAS, WEAPON_G3SG1, WEAPON_GALILAR, WEAPON_M249,
WEAPON_M4A1, WEAPON_MAC10, WEAPON_P90, WEAPON_UMP45, WEAPON_XM1014, WEAPON_BIZON, WEAPON_MAG7, WEAPON_NEGEV, WEAPON_SAWEDOFF, WEAPON_TEC9, WEAPON_HKP2000, WEAPON_MP7, WEAPON_MP9,
WEAPON_NOVA, WEAPON_P250, WEAPON_SCAR20, WEAPON_SG553, WEAPON_SSG08, WEAPON_M4A1_SILENCER, WEAPON_USP_SILENCER, WEAPON_CZ75A, WEAPON_REVOLVER, WEAPON_KNIFE_BAYONET, WEAPON_KNIFE_FLIP,
WEAPON_KNIFE_GUT, WEAPON_KNIFE_KARAMBIT, WEAPON_KNIFE_M9_BAYONET, WEAPON_KNIFE_TACTICAL, WEAPON_KNIFE_FALCHION, WEAPON_KNIFE_SURVIVAL_BOWIE, WEAPON_KNIFE_SURVIVAL_BOWIE,
WEAPON_KNIFE_BUTTERFLY, WEAPON_KNIFE_PUSH, 5030, 5031, 5032, 5033, 5034, 5035
};
ImGui::Combo(("Item"), &itemidtmp, itemnames, ARRAYSIZE(itemnames));
itemDefinitionIndex = weapons_id[itemidtmp];

if (itemDefinitionIndex < 5000) {
ImGui::ComboBoxArray("Skin", &paintkit_temp_skin, KnifeSkins[0].SkinNames);
paintKit = WeaponSkins[0].SkinPaintKit[paintkit_temp_skin];
}
else {
ImGui::ComboBoxArray("Skin", &paintkit_temp_gloves, GloveSkin[0].Names);
paintKit = GloveSkin[0].PaintKit[paintkit_temp_gloves];
}

ImGui::Combo(("Rarity"), &rarity, raritynames, ARRAYSIZE(raritynames));
ImGui::InputInt("Seed", &seed);
ImGui::SliderFloat("Wear", &wear, FLT_MIN, 1.f, "%.10f", 5);

if (ImGui::Button("Add")) {
Settings::InvChanger::weapons.insert(Settings::InvChanger::weapons.end(), { itemDefinitionIndex , paintKit , rarity , seed, wear });
Settings::InvChanger::CustomWeaponCount = Settings::InvChanger::weapons.size();
} ImGui::SameLine();

if (ImGui::Button("Apply##Skin"))
SendClientHello();

ImGui::NextColumn();

ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1, 1, 1, 1));
ImGui::ListBoxHeader("Skins");
int weapon_index = 0;
for (auto weapon : Settings::InvChanger::weapons) {
if (ImGui::Selectable(std::string(std::to_string(weapon.itemDefinitionIndex) + " " + std::to_string(weapon.paintKit)).c_str())) {
Settings::InvChanger::weapons.erase(Settings::InvChanger::weapons.begin() + weapon_index);
Settings::InvChanger::CustomWeaponCount = Settings::InvChanger::weapons.size();
}
weapon_index++;
}
ImGui::ListBoxFooter();
ImGui::PopStyleColor();
ImGui::Columns(1, nullptr, false);
}
}

if (otherpages == 2)
{
ImGui::Checkbox("Profile Changer", &Settings::InvChanger::Profile_Info);
const char* MMRank[] = {
"Silver I",
"Silver II",
"Silver III",
"Silver IV",
"Silver Elite",
"Silver Elite Master",

"Gold Nova I",
"Gold Nova II",
"Gold Nova III",
"Gold Nova Master",

"Master Guardian I",
"Master Guardian II",
"Master Guardian Elite",
"Distinguished Master Guardian",

"Legendary Eagle",
"Legendary Eagle Master",
"Supreme Master First Class",
"Global Elite" };
static int selected = 0;
ImGui::Combo(("Rank"), &selected, MMRank, ARRAYSIZE(MMRank));
Settings::InvChanger::Profile_Info_Rank = selected + 1; // could you be less retarded?

ImGui::SliderInt("Level", &Settings::InvChanger::Profile_Info_Level, 1, 40);
ImGui::InputInt("XP", &Settings::InvChanger::Profile_Info_XP);
ImGui::InputInt("Wins", &Settings::InvChanger::Profile_Info_Win);
ImGui::Spacing();
ImGui::Text("Commends");
ImGui::InputInt("Friendly", &Settings::InvChanger::Profile_Info_Friendly);
ImGui::InputInt("Leader", &Settings::InvChanger::Profile_Info_Leader);
ImGui::InputInt("Teacher", &Settings::InvChanger::Profile_Info_Teacher);
ImGui::Spacing();
if (ImGui::Button("Apply Changes"))
SendMMHello();
}
}
else if (tabSelected == 3) // Skins
{
static int otherpages = 0;
const char* tabNames[] = { // change these to what you like
"SKINCHANGER",
"INVENTORY CHANGER",
"PROFILE CHANGER"
};
static int tabOrder[] = { 0 , 1 , 2 };
const bool tabChanged = ImGui::TabLabels(tabNames, sizeof(tabNames) / sizeof(tabNames[0]), otherpages, tabOrder);

if (otherpages == 0)
{
const char* knife_models_items[] =
{
"Default","Bayonet","Flip","Gut","Karambit" ,"M9 Bayonet",
"Huntsman","Falchion","Bowie","Butterfly","Shadow Daggers"
};

const char* quality_items[] =
{
"Use PaintKit Default",
"Consumer Grade (white)",
"Industrial Grade (light blue)",
"Mil-Spec (darker blue)",
"Restricted (purple)",
"Classified (pinkish purple)",
"Covert (red)",
"Exceedingly Rare (gold)",
};
//[enc_string_enable /]
const char* GlovesType[] = {
"Default",
"Bloodhound",
"Default (Terrorists)",
"Default (Counter-Terrorists)",
"Sporty",
"Slick",
"Handwrap",
"Motorcycle",
"Specialist",
"Hydra"
};

ImGui::Separator();
ImGui::Text("Knife Changer");
ImGui::Separator();

static int iSelectKnifeCTSkinIndex = -1;
static int iSelectKnifeTTSkinIndex = -1;

int iKnifeCTModelIndex = Settings::Skin::knf_ct_model;
int iKnifeTTModelIndex = Settings::Skin::knf_tt_model;

static int iOldKnifeCTModelIndex = -1;
static int iOldKnifeTTModelIndex = -1;

if (iOldKnifeCTModelIndex != iKnifeCTModelIndex && Settings::Skin::knf_ct_model)
iSelectKnifeCTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, false);

if (iOldKnifeTTModelIndex != iKnifeTTModelIndex && Settings::Skin::knf_tt_model)
iSelectKnifeTTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, true);

iOldKnifeCTModelIndex = iKnifeCTModelIndex;
iOldKnifeTTModelIndex = iKnifeTTModelIndex;

string KnifeCTModel = knife_models_items[Settings::Skin::knf_ct_model];
string KnifeTTModel = knife_models_items[Settings::Skin::knf_tt_model];

KnifeCTModel += " Skin##KCT";
KnifeTTModel += " Skin##KTT";

ImGui::PushItemWidth(362.f);
ImGui::Combo("Knife CT Model", &Settings::Skin::knf_ct_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Knife CT Skin", &iSelectKnifeCTSkinIndex, KnifeSkins[iKnifeCTModelIndex].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Knife CT Wear", &g_SkinChangerCfg[WEAPON_KNIFE].flFallbackWear, 0.001f, 1.f);
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
ImGui::Combo("Knife T Model", &Settings::Skin::knf_tt_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Knife T Skin", &iSelectKnifeTTSkinIndex, KnifeSkins[iKnifeTTModelIndex].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Knife T Wear", &g_SkinChangerCfg[WEAPON_KNIFE_T].flFallbackWear, 0.001f, 1.f);

ImGui::Separator();
ImGui::Text("Skin Changer");
ImGui::Separator();

static int iOldWeaponID = -1;

ImGui::Combo("Weapon##WeaponSelect", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));

iWeaponSelectIndex = pWeaponItemIndexData[iWeaponID];

if (iOldWeaponID != iWeaponID)
iWeaponSelectSkinIndex = GetWeaponSkinIndexFromPaintKit(g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit);

iOldWeaponID = iWeaponID;

string WeaponSkin = pWeaponData[iWeaponID];
WeaponSkin += " Skin";
static int weaponskin = 0;
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray(WeaponSkin.c_str(), &iWeaponSelectSkinIndex, WeaponSkins[iWeaponID].SkinNames);
ImGui::PushItemWidth(362.f);
ImGui::Combo("Weapon Quality", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].iEntityQuality, quality_items, IM_ARRAYSIZE(quality_items));
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("Weapon Wear", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].flFallbackWear, 0.001f, 1.f);
ImGui::PushItemWidth(362.f);
ImGui::InputInt("Weapon StatTrak", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].nFallbackStatTrak, 1, 100, ImGuiInputTextFlags_CharsDecimal);

ImGui::Separator();
ImGui::Text("Glove Changer");
ImGui::Separator();

ImGui::PushItemWidth(362.f);
ImGui::Combo("Gloves Type", &Settings::Skin::gloves_model, GlovesType, IM_ARRAYSIZE(GlovesType));
ImGui::PushItemWidth(362.f);
ImGui::ComboBoxArray("Gloves Skin", &Settings::Skin::gloves_skin, GloveSkin[Settings::Skin::gloves_model].Names);
ImGui::Separator();


if (ImGui::Button("Apply##Skin"))
{
if (iWeaponSelectSkinIndex >= 0) {
g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit = WeaponSkins[iWeaponID].SkinPaintKit[iWeaponSelectSkinIndex];
}

if (iSelectKnifeCTSkinIndex >= 0 && Settings::Skin::knf_ct_model > 0) {
Settings::Skin::knf_ct_skin = KnifeSkins[iKnifeCTModelIndex].SkinPaintKit[iSelectKnifeCTSkinIndex];
}
else
{
Settings::Skin::knf_ct_skin = 0;
iSelectKnifeCTSkinIndex = -1;
}

if (iSelectKnifeTTSkinIndex >= 0 && Settings::Skin::knf_tt_model > 0) {
Settings::Skin::knf_tt_skin = KnifeSkins[iKnifeTTModelIndex].SkinPaintKit[iSelectKnifeTTSkinIndex];
}
else
{
Settings::Skin::knf_tt_skin = 0;
iSelectKnifeTTSkinIndex = -1;
}

ForceFullUpdate();
}

//fix it if you want sticker changer
/*

if (ImGui::Checkbox("Sticker Changer", &Settings::Aimbot::weapon_aim_settings[iWeaponID].StickersEnabled))
CL_FullUpdate();


if (Settings::Aimbot::weapon_aim_settings[iWeaponID].StickersEnabled)
{
ImGui::Combo("Slot", &iSlot, Slot, ARRAYSIZE(Slot));
ImGui::Combo("ID", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].iID, [](void* data, int idx, const char** out_text)
{
*out_text = k_stickers.at(idx).name.c_str();
return true;
}, nullptr, k_stickers.size());

ImGui::SliderFloat("Wear ", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].flWear, 0.f, 1.f);
ImGui::SliderInt("Rotation", &Settings::Aimbot::weapon_aim_settings[iWeaponID].Stickers[iSlot].iRotation, 0, 360);
}


if (ImGui::Button(("Apply"), ImVec2(93.f, 20.f)))
CL_FullUpdate();
*/
}

if (otherpages == 1)
{
ImGui::Text("Other Changers");
ImGui::Checkbox("Inventory Changer", &Settings::InvChanger::Inventory_Changer);
if (Settings::InvChanger::Inventory_Changer)
{
ImGui::Text("Skins");
ImGui::Separator();
ImGui::Spacing();
ImGui::Columns(2, nullptr, false);
static int itemidtmp = 0, itemDefinitionIndex = 0, paintKit = 0, paintkit_temp_skin = 0, paintkit_temp_gloves = 0, rarity = 0, seed = 0, raritypick = 0;
static float wear = 0.f;
const char* raritynames[] = { "Default (gray)", "Consumer Grade (white)", "Industrial Grade (light blue)", "Mil-Spec (darker blue)", "Restricted (purple)", "Classified (pinkish purple)", "Covert (red)", "Exceedingly Rare (gold)" };
const char* itemnames[] = { "Desert Eagle", "Dual Berettas", "Five-Seven", "Glock-18", "AK-47", "AUG", "AWP", "FAMAS", "G3SG1", "Galil AR", "M249", "M4A4",
"MAC-10", "P90", "UMP-45", "XM1014", "PP-Bizon", "MAG-7", "Negev", "Sawed-Off", "Tec-9", "P2000", "MP7", "MP9", "Nova", "P250", "SCAR-20", "SG 553", "SSG 08",
"M4A1-S", "USP-S", "CZ75-Auto", "R8 Revolver", "Bayonet", "Flip Knife", "Gut Knife", "Karambit", "M9 Bayonet", "Huntsman Knife", "Falchion Knife", "Bowie Knife", "Butterfly Knife",
"Shadow Daggers", "Sport Gloves", "Driver Gloves", "Hand Wraps", "Moto Gloves", "Specialist Gloves", "Hydra Gloves" };
const int weapons_id[] = { WEAPON_DEAGLE, WEAPON_ELITE, WEAPON_FIVESEVEN, WEAPON_GLOCK, WEAPON_AK47, WEAPON_AUG, WEAPON_AWP, WEAPON_FAMAS, WEAPON_G3SG1, WEAPON_GALILAR, WEAPON_M249,
WEAPON_M4A1, WEAPON_MAC10, WEAPON_P90, WEAPON_UMP45, WEAPON_XM1014, WEAPON_BIZON, WEAPON_MAG7, WEAPON_NEGEV, WEAPON_SAWEDOFF, WEAPON_TEC9, WEAPON_HKP2000, WEAPON_MP7, WEAPON_MP9,
WEAPON_NOVA, WEAPON_P250, WEAPON_SCAR20, WEAPON_SG553, WEAPON_SSG08, WEAPON_M4A1_SILENCER, WEAPON_USP_SILENCER, WEAPON_CZ75A, WEAPON_REVOLVER, WEAPON_KNIFE_BAYONET, WEAPON_KNIFE_FLIP,
WEAPON_KNIFE_GUT, WEAPON_KNIFE_KARAMBIT, WEAPON_KNIFE_M9_BAYONET, WEAPON_KNIFE_TACTICAL, WEAPON_KNIFE_FALCHION, WEAPON_KNIFE_SURVIVAL_BOWIE, WEAPON_KNIFE_SURVIVAL_BOWIE,
WEAPON_KNIFE_BUTTERFLY, WEAPON_KNIFE_PUSH, 5030, 5031, 5032, 5033, 5034, 5035
};
ImGui::Combo(("Item"), &itemidtmp, itemnames, ARRAYSIZE(itemnames));
itemDefinitionIndex = weapons_id[itemidtmp];

if (itemDefinitionIndex < 5000) {
ImGui::ComboBoxArray("Skin", &paintkit_temp_skin, KnifeSkins[0].SkinNames);
paintKit = WeaponSkins[0].SkinPaintKit[paintkit_temp_skin];
}
else {
ImGui::ComboBoxArray("Skin", &paintkit_temp_gloves, GloveSkin[0].Names);
paintKit = GloveSkin[0].PaintKit[paintkit_temp_gloves];
}

ImGui::Combo(("Rarity"), &rarity, raritynames, ARRAYSIZE(raritynames));
ImGui::InputInt("Seed", &seed);
ImGui::SliderFloat("Wear", &wear, FLT_MIN, 1.f, "%.10f", 5);

if (ImGui::Button("Add")) {
Settings::InvChanger::weapons.insert(Settings::InvChanger::weapons.end(), { itemDefinitionIndex , paintKit , rarity , seed, wear });
Settings::InvChanger::CustomWeaponCount = Settings::InvChanger::weapons.size();
} ImGui::SameLine();

if (ImGui::Button("Apply##Skin"))
SendClientHello();

ImGui::NextColumn();

ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1, 1, 1, 1));
ImGui::ListBoxHeader("Skins");
int weapon_index = 0;
for (auto weapon : Settings::InvChanger::weapons) {
if (ImGui::Selectable(std::string(std::to_string(weapon.itemDefinitionIndex) + " " + std::to_string(weapon.paintKit)).c_str())) {
Settings::InvChanger::weapons.erase(Settings::InvChanger::weapons.begin() + weapon_index);
Settings::InvChanger::CustomWeaponCount = Settings::InvChanger::weapons.size();
}
weapon_index++;
}
ImGui::ListBoxFooter();
ImGui::PopStyleColor();
ImGui::Columns(1, nullptr, false);
}
}

if (otherpages == 2)
{
ImGui::Checkbox("Profile Changer", &Settings::InvChanger::Profile_Info);
const char* MMRank[] = {
"Silver I",
"Silver II",
"Silver III",
"Silver IV",
"Silver Elite",
"Silver Elite Master",

"Gold Nova I",
"Gold Nova II",
"Gold Nova III",
"Gold Nova Master",

"Master Guardian I",
"Master Guardian II",
"Master Guardian Elite",
"Distinguished Master Guardian",

"Legendary Eagle",
"Legendary Eagle Master",
"Supreme Master First Class",
"Global Elite" };
static int selected = 0;
ImGui::Combo(("Rank"), &selected, MMRank, ARRAYSIZE(MMRank));
Settings::InvChanger::Profile_Info_Rank = selected + 1; // could you be less retarded?

ImGui::SliderInt("Level", &Settings::InvChanger::Profile_Info_Level, 1, 40);
ImGui::InputInt("XP", &Settings::InvChanger::Profile_Info_XP);
ImGui::InputInt("Wins", &Settings::InvChanger::Profile_Info_Win);
ImGui::Spacing();
ImGui::Text("Commends");
ImGui::InputInt("Friendly", &Settings::InvChanger::Profile_Info_Friendly);
ImGui::InputInt("Leader", &Settings::InvChanger::Profile_Info_Leader);
ImGui::InputInt("Teacher", &Settings::InvChanger::Profile_Info_Teacher);
ImGui::Spacing();
if (ImGui::Button("Apply Changes"))
SendMMHello();
}
}
else if (tabSelected == 4) // Misc
{
const char* skybox_items[] = {
"cs_baggage_skybox_",
"cs_tibet",
"embassy",
"italy",
"jungle",
"nukeblank",
"office",
"sky_cs15_daylight01_hdr",
"sky_cs15_daylight02_hdr",
"sky_cs15_daylight03_hdr",
"sky_cs15_daylight04_hdr",
"sky_csgo_cloudy01",
"sky_csgo_night02",
"sky_csgo_night02b",
"sky_csgo_night_flat",
"sky_day02_05_hdr",
"sky_day02_05",
"sky_dust",
"sky_l4d_rural02_ldr",
"sky_venice",
"vertigo_hdr",
"vertigoblue_hdr",
"vertigo",
"vietnam"
};
static int otherpages = 0;
const char* tabNames[] = { // change these to what you like
"Misc",
"Untrusted Features",
};
static int tabOrder[] = { 0 , 1 };
const bool tabChanged = ImGui::TabLabels(tabNames, sizeof(tabNames) / sizeof(tabNames[0]), otherpages, tabOrder);

if (otherpages == 0)
{
ImGui::Checkbox("Auto Accept", &Settings::Misc::misc_AutoAccept);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Auto Bhop", &Settings::Misc::misc_Bhop);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("NightMode", &Settings::Esp::esp_NightMode);

ImGui::Checkbox("Show Spectators", &Settings::Misc::misc_Spectators);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Recoil Crosshair", &Settings::Misc::misc_Punch);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Inventory Unlocker", &Settings::Misc::misc_inventory);

ImGui::Checkbox("No Flash", &Settings::Misc::misc_NoFlash);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("No Smoke", &Settings::Misc::misc_NoSmoke);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("No Hands", &Settings::Misc::misc_NoHands);

ImGui::Separator();

ImGui::Checkbox("Chat Spam", &Settings::Misc::misc_spamregular);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Random Chat Spam", &Settings::Misc::misc_spamrandom);
ImGui::SameLine(SpaceLineTwo);
ImGui::Checkbox("Static Name Spam", &Settings::Misc::misc_namespamidkmemes_static);
ImGui::Separator();
ImGui::Checkbox("FOV Changer", &Settings::Misc::misc_FovChanger);
ImGui::PushItemWidth(362.f);
ImGui::SliderInt("FOV View", &Settings::Misc::misc_FovView, 1, 170);
ImGui::SliderInt("FOV Model View", &Settings::Misc::misc_FovModelView, 1, 190);
ImGui::Separator();

ImGui::Checkbox("Sniper Crosshair", &Settings::Misc::misc_AwpAim);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Disable Postprocess", &Settings::Misc::misc_EPostprocess);
ImGui::Separator();

const char* items5[] = { "None" , "Clear" , "smef.cc" , "smef.cc No-name" , "Valve" , "Valve No-name" , "Animation" };
ImGui::Combo("Clantag Changer", &Settings::Misc::misc_Clan, items5, IM_ARRAYSIZE(items5));

ImGui::Separator();
ImGui::Text("Custom Changers");
ImGui::Separator();
ImGui::Spacing();

static char name[128] = { 0 };
ImGui::PushItemWidth(362.f);
ImGui::InputText("Name", name, 16, Settings::Misc::misc_NameChanger);
ImGui::PopItemWidth();
if (ImGui::Button("Apply"))
{
ConVar* Name = Interfaces::GetConVar()->FindVar("name");
*(int*)((DWORD)&Name->fnChangeCallback + 0xC) = 0;
Name->SetValue(name);
}
/* ImGui::Separator();

static char clantag[128] = { 0 };
ImGui::PushItemWidth(362.f);
ImGui::InputText("Clan Tag", clantag, 128, Settings::Misc::misc_ClanTagChanger);
ImGui::PopItemWidth();
if (ImGui::Button("Apply"))
{
Engine::ClanTagApply(clantag);
}*/
}

if (otherpages == 1)
{
ImGui::Text("All features below can either cause SMAC or Untrusted bans");
ImGui::Separator();
ImGui::Spacing();
ImGui::Checkbox("Enable Untrusted Features", &Settings::Untrusted);
if (ImGui::IsItemHovered())
ImGui::SetTooltip("sv_cheats 1/smac ban");
if (Settings::Untrusted)
{
ImGui::Checkbox("No Sky", &Settings::Misc::misc_NoSky);
ImGui::SameLine(SpaceLineOne);
ImGui::Checkbox("Wire Hands", &Settings::Misc::misc_WireHands);

ImGui::Separator();
ImGui::Spacing();

ImGui::Checkbox("Third Person", &Settings::Misc::misc_ThirdPerson);
ImGui::PushItemWidth(362.f);
ImGui::SliderFloat("##THIRDPERSONRANGE", &Settings::Misc::misc_ThirdPersonRange, 0.f, 500.f, "Range: %0.f");

ImGui::Separator();
ImGui::Spacing();

ImGui::PushItemWidth(362.f);
if (ImGui::Combo("SkyBox", &Settings::Misc::misc_CurrentSky, skybox_items, IM_ARRAYSIZE(skybox_items)))
Settings::Misc::misc_SkyName = skybox_items[Settings::Misc::misc_CurrentSky];
}
}
}
ImGui::EndGroup();
ImGui::End();

}

Advertisement

Disable Third Party Ads