How to set P_model Sequences?
1 Attachment(s)
Hi every one, i am making sub model for my weapons mod, but i have some mistake with p_model when change to sub model, Sequences of this is not change, so please help my the way to change Sequences of p_model, thank so much.
I try with set_pev(id, pev_sequence, 1) but not happen! This is my code and model: PHP Code:
|
Re: How to set P_model Sequences?
A better way to do this is to make a new entity following player with p_model as model. That way, you can change any value without problems.
BTW, you are changing player's submodel and sequence.;) |
Re: How to set P_model Sequences?
Quote:
|
Re: How to set P_model Sequences?
With your way, you can't since there's no proper way to find p_model's entity. So do as I said and everything will be much easier.
|
Re: How to set P_model Sequences?
Yes, easy, but i'm begginer, i don't understand, i have 2 method to change model, and if can, please help me to change sequence. Thanks.
Use ham but not happen PHP Code:
PHP Code:
|
Re: How to set P_model Sequences?
Which part of "there's no proper way to find p_model's entity" didn't you understand? What you are doing is getting weapon entity, not p_model entity.
In HamF_Item_Deploy_Post do something like: PHP Code:
|
Re: How to set P_model Sequences?
Thanks for your support, because i'm beginer so i can't understand what you said, sorry.
|
| All times are GMT -4. The time now is 17:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.