Hello, I found good Fists from AREZ's pack (
https://ibb.co/r4WNjKw
https://ibb.co/W38RvSD) , it works for the cs:go client via a MiGI addons,
I want to add this to my server, but there is a problem, i cant get it to work.
To add this to the game, I use the plugin
https://forums.alliedmods.net/showthread.php?t=276733
PHP Code:
int iDefaultKnifeT,iDefaultKnifeCT, iTridaggerModel,iTridaggerSteelModel,iBlackDagger,iKabar,iOldKnife,iUltimateKnife, ifu, ides;
.....public void OnMapStart().........
iDefaultKnifeT = PrecacheModel("models/weapons/v_knife_default_t.mdl");
iDefaultKnifeCT = PrecacheModel("models/weapons/v_knife_default_ct.mdl");
AddFileToDownloadsTable("models/weapons/v_knife_default_t.mdl");
AddFileToDownloadsTable("models/weapons/v_knife_default_ct.mdl");
AddFileToDownloadsTable("models/weapons/v_knife_default_t.vvd");
AddFileToDownloadsTable("models/weapons/v_knife_default_t.dx90.vtx");
AddFileToDownloadsTable("models/weapons/v_knife_default_ct.vvd");
AddFileToDownloadsTable("models/weapons/v_knife_default_ct.dx90.vtx");
AddFileToDownloadsTable("materials/models/weapons/v_models/knife_t/tm_leet_lowerbody_variantb_exponent.vtf");
AddFileToDownloadsTable("materials/models/weapons/v_models/knife_t/tm_leet_lowerbody_variantb_normal.vtf");
AddFileToDownloadsTable("materials/models/weapons/v_models/knife_t/tm_leet_lowerbody_variantb.vmt");
AddFileToDownloadsTable("materials/models/weapons/v_models/knife_t/tm_leet_lowerbody_variantb.vtf");
........
void SetKnife(int param1, char[] item)
{
char item2[16];
if (StrEqual(item, "default"))
{
//FPVMI_RemoveViewModelToClient(param1, "weapon_knife");
KnifeSelection[param1] = 0;
if (GetClientTeam(param1) == 2) {
FPVMI_AddViewModelToClient(param1, "weapon_knife", iDefaultKnifeT);
CPrintToChat(param1,"set t def");
}
if (GetClientTeam(param1) == 3) {
FPVMI_AddViewModelToClient(param1, "weapon_knife", iDefaultKnifeCT);
CPrintToChat(param1,"set ct def");
}
IntToString(KnifeSelection[param1], item2, sizeof(item2));
SetClientCookie(param1, g_hMySelection, item2);
}
......................
The problem is that the client does not download the model files, they have a default path and a name
and the client loads the standard model. If this is renamed or assigned to a different path, the standard model is still loaded.
Please tell me how to fix it
fists pack _https://drive.google.com/file/d/1BU6bL6Xf9kivfxLuZr_v-ng6wY-7Nml2/view?usp=sharing