if (config.skybboxselect)
{
static auto sv_skyname = interfaces::console->FindVar(("sv_skyname"));
if (config.skybbox == 0)
{
sv_skyname->SetValue("cs_tibet");
}
if (config.skybbox == 1)
{
sv_skyname->SetValue("cs_baggage_skybox_");
}
if (config.skybbox == 2)
{
sv_skyname->SetValue("embassy");
}
if (config.skybbox == 3)
{
sv_skyname->SetValue("italy");
}
if (config.skybbox == 4)
{
sv_skyname->SetValue("jungle");
}
if (config.skybbox == 5)
{
sv_skyname->SetValue("office");
}
if (config.skybbox == 6)
{
sv_skyname->SetValue("sky_cs15_daylight01_hdr");
}
if (config.skybbox == 7)
{
sv_skyname->SetValue("vertigoblue_hdr");
}
if (config.skybbox == 8)
{
sv_skyname->SetValue("sky_cs15_daylight02_hdr");
}
if (config.skybbox == 9)
{
sv_skyname->SetValue("vertigo");
}
if (config.skybbox == 10)
{
sv_skyname->SetValue("sky_day02_05_hdr");
}
if (config.skybbox == 11)
{
sv_skyname->SetValue("nukeblank");
}
if (config.skybbox == 12)
{
sv_skyname->SetValue("sky_venice");
}
if (config.skybbox == 13)
{
sv_skyname->SetValue("sky_cs15_daylight03_hdr");
}
if (config.skybbox == 14)
{
sv_skyname->SetValue("sky_cs15_daylight04_hdr");
}
if (config.skybbox == 15)
{
sv_skyname->SetValue("sky_csgo_cloudy01");
}
if (config.skybbox == 16)
{
sv_skyname->SetValue("sky_csgo_night02");
}
if (config.skybbox == 17)
{
sv_skyname->SetValue("sky_csgo_night02b");
}
if (config.skybbox == 18)
{
sv_skyname->SetValue("sky_csgo_night_flat");
}
if (config.skybbox == 19)
{
sv_skyname->SetValue("sky_dust");
}
if (config.skybbox == 20)
{
sv_skyname->SetValue("vietnam");
}
if (config.skybbox == 21)
{
sv_skyname->SetValue("amethyst");
}
if (config.skybbox == 22)
{
sv_skyname->SetValue("sky_descent");
}
if (config.skybbox == 23)
{
sv_skyname->SetValue("clear_night_sky");
}
if (config.skybbox == 24)
{
sv_skyname->SetValue("otherworld");
}
if (config.skybbox == 25)
{
sv_skyname->SetValue("cloudynight");
}
if (config.skybbox == 26)
{
sv_skyname->SetValue("dreamyocean");
}
if (config.skybbox == 27)
{
sv_skyname->SetValue("grimmnight");
}
if (config.skybbox == 28)
{
sv_skyname->SetValue("sky051");
}
if (config.skybbox == 29)
{
sv_skyname->SetValue("sky081");
}
if (config.skybbox == 30)
{
sv_skyname->SetValue("sky091");
}
if (config.skybbox == 31)
{
sv_skyname->SetValue("sky561");
}
}
else
{
static auto sv_skyname = interfaces::console->FindVar(("sv_skyname"));
sv_skyname->SetValue(0);
}