AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   config.cfg (https://forums.alliedmods.net/showthread.php?t=162468)

e12harry 07-19-2011 10:00

config.cfg
 
Is there a way to change user config.cfg or autoexec.cfg?
Player can modify some of settings. I want to save this settings in user config.cfg or other cfg that is automaticly executed.

One of setting is place where message wil be shown (bf2 mod message about badges and rank);
From menu player can choose where info will be shown (top centerid, bottom centerid, center ... )
After this user will be asked if he wants to save this settings. If yes I will write to his cfg:

set_info "bf2_msg_x" "x"
set_info "bf2_msg_y" "y"
where x and y are coordinates.
Than when user connects next time he will have message displayed in this coordinates.

ANTICHRISTUS 07-19-2011 11:08

Re: config.cfg
 
Quote:

Is there a way to change user config.cfg or autoexec.cfg?
slowhaking, not allowed in these forums.

e12harry 07-19-2011 14:00

Re: config.cfg
 
I thought that slowhacking is modifing players settings without his permition.
Is this still slowhacking if user will be informed about what will be added to his config and he will have choice if he wants it or not?

Exolent[jNr] 07-19-2011 14:57

Re: config.cfg
 
We do not support changing client-side files here.
All you can do is change settings.

fysiks 07-19-2011 15:01

Re: config.cfg
 
Just make a MOTD explaining how they can do it themselve. Also, I've found that the setinfo space for a client is limited so some people may not even be able to do that at all.

e12harry 07-20-2011 03:42

Re: config.cfg
 
Thanks. I will use MOTD.


All times are GMT -4. The time now is 01:10.

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