How to make client configuration persistent?
Hi. I am trying to save client options, such as hits indicator style, whether fade screen or play sound on kill or not, etc. I thought that cvars was something I need but then I realized it has nothing with client or player variables. I can imagine saving properties to file along with steam id or ip, but is there easier way to do it? Like an options that player sets in its userconfig.cfg and then I request those options from plugins? I know it is possible, that is how fastcup dm (185.101.138.37:27015) /menu works. It restores my preferable settings even when I restart the client.
|
Re: How to make client configuration persistent?
This can come in handy
https://forums.alliedmods.net/showthread.php?t=91503 |
Re: How to make client configuration persistent?
Quote:
|
Re: How to make client configuration persistent?
I have found exactly what I was interested in.
Code:
public client_infochanged(id) |
Re: How to make client configuration persistent?
I've used the user info approach before but I think it has a limited size so that's something you'll need to consider. I'm sure you could test this but you'll still need to consider that some people may have already used this for other things also.
|
All times are GMT -4. The time now is 07:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.