Raised This Month: $ Target: $400
 0% 

Solved Help Me Optimize?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-04-2017 , 05:34   Re: Help Me Optimize?
Reply With Quote #6

Quote:
Originally Posted by hellmonja View Post
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_FindEntityByStringentity"classname"weapon_bizon
instead of just
PHP Code:
find_ent_by_class 
Quote:
Originally Posted by hellmonja View Post
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.
__________________

Last edited by edon1337; 03-04-2017 at 05:34.
edon1337 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode