[SOLVED] PW model w/ sub-models & how to unprecache sounds.
1 Attachment(s)
Hey guys I need some help.
For example I have a world/player model that has different submodels ( multi-weapon model, I will upload an example ) How do I "Switch the sub-model" from 1 to 2 or 5th sub-model? For both P and W model. Also how to unprecache sounds, if its exists already please show me a link. |
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
set_pev(iEnt,pev_body,XX) XX is the submodel number.
|
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
Quote:
How to unprecache sounds too? |
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
i found this code somewhere on this forum, i dont remember anymore where but i writed it on my special code list :)
here it is. PHP Code:
SendWeaponAnim( id, 0 ) param2: 0 is sub model number. example if you have 3 submodels in your v_ model then it will be just like that 0 , 1 , 2 |
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
Quote:
|
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
Quote:
set_pev(id ,pev_body, 0) param 3 ( key 0 ) work same as i said for v model Quote:
|
Re: [Help] PW model w/ sub-models & how to unprecache sounds.
Testing it later, and how to precache sounds, please reply.
|
All times are GMT -4. The time now is 23:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.