Quote:
Originally Posted by hellmonja
Thanks. So that's why it can't change the world model. Would engine be a lot better? Someone told me the fewer modules I use the better.
|
No difference in performance, you tell me, would you rather type
PHP Code:
engfunc(EngFunc_FindEntityByString, entity, "classname", weapon_bizon)
instead of just
PHP Code:
find_ent_by_class
Quote:
Originally Posted by hellmonja
Hmm, when I switch weapons thirdperson, the Bizon player model doesn't go away. Like if I switch to my knife my player holds both knife and bizon. Same goes with pistols etc...
|
It's because m_pActiveItem checks only the weapon you're using. Try with find_ent_by_owner.
__________________