Raised This Month: $ Target: $400
 0% 

cs_set_user_model — place for call


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-07-2013 , 13:41   Re: cs_set_user_model — place for call
Reply With Quote #1

When a player writes setinfo FIELD VALUE in console, that info is set on engine client, and if the field is new, or if the value has changed, ClientInfoChanged is sent to DLL (engine calls cs function).
In ClientInfoChanged code, cs checks player model and tries to set it back to default values is model doesn't match default values.

What you could do is on client_infochanged, check for sp_model info, and don't use that value untill new round / next spawn
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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