if (g_Options.player_model_index)
{
if (g_Options.player_model_index_type == 0)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_separatist_variantd.mdl"));
if (g_Options.player_model_index_type == 1)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_sas_variantf.mdl"));
if (g_Options.player_model_index_type == 2)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_st6_variantm.mdl"));
if (g_Options.player_model_index_type == 3)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_st6_variantk.mdl"));
if (g_Options.player_model_index_type == 4)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_st6_variantg.mdl"));
if (g_Options.player_model_index_type == 5)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_st6_variante.mdl"));
if (g_Options.player_model_index_type == 6)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_st6_varianti.mdl"));
if (g_Options.player_model_index_type == 7)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_fbi_varianth.mdl"));
if (g_Options.player_model_index_type == 8)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_fbi_variantg.mdl"));
if (g_Options.player_model_index_type == 9)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_fbi_variantf.mdl"));
if (g_Options.player_model_index_type == 10)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/ctm_fbi_variantb.mdl"));
if (g_Options.player_model_index_type == 11)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_leet_variantf.mdl"));
if (g_Options.player_model_index_type == 12)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_leet_varianti.mdl"));
if (g_Options.player_model_index_type == 13)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_leet_varianth.mdl"));
if (g_Options.player_model_index_type == 14)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_leet_variantg.mdl"));
if (g_Options.player_model_index_type == 15)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_phoenix_variantg.mdl"));
if (g_Options.player_model_index_type == 16)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_phoenix_variantf.mdl"));
if (g_Options.player_model_index_type == 17)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_phoenix_varianth.mdl"));
if (g_Options.player_model_index_type == 18)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_balkan_variantj.mdl"));
if (g_Options.player_model_index_type == 19)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_balkan_variantg.mdl"));
if (g_Options.player_model_index_type == 20)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_balkan_varianti.mdl"));
if (g_Options.player_model_index_type == 21)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_balkan_variantf.mdl"));
if (g_Options.player_model_index_type == 22)
g_LocalPlayer->SetModelIndex(g_MdlInfo->GetModelIndex("models/player/custom_player/legacy/tm_balkan_varianth.mdl"));
}
}
Ксгосимпл, но увидел код со слитого сурса aurumsenseBase and ss pls
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz