Hook player model change
Hi. Does somebody have that player model change hook code snippet?
I just want to store all current models in PHP Code:
|
Re: Hook model change
which type of model you want to hook?
Player Model? Weapon View Model? |
Re: Hook model change
Quote:
|
Re: Hook player model change
Show the models please.
|
Re: Hook player model change
Quote:
|
Re: Hook player model change
usually you can just get model from cs_get_user_model
But if you need to hook when the model change, I think you might need to work with Ham_Keyvalue but I am not sure since there ain't any document or thread about this. Or even worse, use Orpheu Edit: In ReAPI, there is RG_CBasePlayer_SetClientUserInfoModel that you can use RegisterHookChain to hook it |
Re: Hook player model change
Quote:
PHP Code:
|
Re: Hook player model change
Quote:
PHP Code:
|
Re: Hook player model change
Quote:
For example, when your character class change in middle of the round, you can't update the array by anymean, except by using native (if the model change is from other plugins) |
Re: Hook player model change
Quote:
|
| All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.