Hello, got an error on server console, how am I supposed to precache correctly this way?
Code:
FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model Chucky not precached
Segmentation fault (core dumped)
the arrays on my code are like that:
Code:
new const g_ModelData[Knifes][KnifeModels] =
{
{ "Chucky", "models/shmod/chuckyy_VIP_knife.mdl"},
{ "DarthMaul", "models/shmod/darthmaul_VIP_knife.mdl"},
{ "Riddick", "models/shmod/riddick_VIP_knife.mdl"},
{ "Wolv", "models/shmod/wolv_VIP_knife.mdl"},
{ "Grim", "models/shmod/grimreaper_VIP_knife.mdl"}
}
new const g_ModelPData[Knifes][PModels] =
{
{ "Chucky", "models/p_knife.mdl"},
{ "DarthMaul", "models/shmod/darthmaul_p_knife.mdl"},
{ "Riddick", "models/p_knife.mdl"},
{ "Wolv", "models/p_knife.mdl"},
{ "Grim", "models/shmod/grimreaperV_p_knife.mdl"}
}