Raised This Month: $ Target: $400
 0% 

Hook player model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 10-09-2022 , 10:56   Re: Hook player model change
Reply With Quote #6

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
__________________
My plugin:

Last edited by Celena Luna; 10-09-2022 at 11:03.
Celena Luna 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 15:33.


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