[Source SDK] Precaching models client-side before going on the server
0 replies, posted
Hello guys. I'm trying to figure out how to precache modes in the CModelPanel for the main menu.
I've tried different ways:
[CODE]engine->LoadModel(pszModelName);
modelinfo->FindOrLoadModel(pszModelName);
C_BaseEntity::PrecacheModel(pszModelName);[/CODE]
Neither of them work and model index is always -1
What can I do?
Sorry, you need to Log In to post a reply to this thread.