hi, i have this from khalid knife menu plugin :
Code:
new something[100]
formatex(something, charsmax(something), "models/%s.mdl", MODELS[1][V_MODEL])
copy(g_szModels[1][V_MODEL], charsmax(g_szModels[][]), something)
server_print("Something: %s", something)
precache_model(something)
everithing works fine,but if i want to change [ from
models/ to
models/player/ ] doesn't work

and this :
Code:
for(new i = 2; i < KNIFES_NUM + 1; i++)
{
formatex(something, 99, "models/dArc/%s.mdl", MODELS[i][V_MODEL])
precache_model(something)
server_print("Something: %s", something)
copy(g_szModels[i][V_MODEL], charsmax(g_szModels[][]), something)
}
please, i need this to precache players models more simple.. someone help ?
__________________