Change cvar on clients
Hello, i know this is bad form.
I have only steam cw\mix server and everyone knows what were the rules at WCG. Some of the cvars were banned: cl_weather 0 mp_decals 0 max_shells 0 max_smokepuffs 0 fastsprites 1\2 fps_max higher 101 and ect. I want change some cvars on client while logging in to the server. But if the client changes the value back, it will be removed from the server with a warning. Is it possible to make a range of valid values and specific values in the plugin? For example: greater than, less than, equal to, or to and from. Sorry my English :) Really do that? Cand you help me? |
Re: Change cvar on clients
Changing clients settings without permission is slow-hacking. This is not supported here. Simply kick them with the reason of the wrong settings so they have to change them.
|
Re: Change cvar on clients
Quote:
-_- |
Re: Change cvar on clients
There's got to be a happy medium out there. URL is in the quote. Ranges and lists seem to be available to test out.
Quote:
Code:
stock GetCvarOption(CvarOption[],CvarIndex) // Converts the String text into a Int in the g_CvarRule https://forums.alliedmods.net/showpo...76&postcount=1 It features NO client cmds to forcibly change player rates and no constant server polling to check for rate changes. (1 shot) https://forums.alliedmods.net/showpo...20&postcount=6 Rechecks so if user tries to change it back. (constant polling) |
All times are GMT -4. The time now is 23:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.