Raised This Month: $ Target: $400
 0% 

cs_set_user_model — place for call


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-17-2013 , 06:20   Re: cs_set_user_model — place for call
Reply With Quote #4

This is not what he wants.

To catch when sas model is applied, hook FM_SetClientKeyValue, filter when key is "model" and when value is "sas", then, check actual user model (get_user_info(id, "model", szModel, charsmax(szModel)), in case you would already have applied the model.

In both cases you supercede the function, and if actual player model is not your custom one, send set_user_info(index, "model", CUSTOM_SAS) on it.
Don't use cs_set_user_model it is buggy.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:20.


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