 |
|
Veteran Member
Join Date: Jul 2006
Location: France (95)
|

11-17-2013
, 06:20
Re: cs_set_user_model — place for call
|
#3
|
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.
__________________
|
|
|
|