Closed sheavyq closed 1 year ago
I'd recommend using Precache models since its better and applies the model instantly instead of needing to change map Relevant documentation: https://www.unknowncheats.me/forum/counterstrike-global-offensive/214919-precache-models.html
I'd recommend using Precache models since its better and applies the model instantly instead of needing to change map Relevant documentation: https://www.unknowncheats.me/forum/counterstrike-global-offensive/214919-precache-models.html
I precached my model in Visuals.cpp at Visuals::playerModel(): modelprecache->addString(false, "models/weapons/awp/freedom.mdl");
and change weapon model(at Visuals::playerModel()) const auto cwid = interfaces->entityList->getEntityFromHandle(localPlayer->getActiveWeapon()->handle()); cwid->setModelIndex(interfaces->modelInfo->getModelIndex("models/weapons/awp/freedom.mdl"));
this didnt change anything, can you help me what is wrong with this code? :d
I think use FindMDL, but i dont know how to include that in osiris. Can you help me? :D