Raised This Month: $51 Target: $400
 12% 

[CVAR]amx_language dont work like it should


  
 
 
Thread Tools Display Modes
Author Message
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 09-03-2006 , 04:14   [CVAR]amx_language dont work like it should
#1

I first read this thread about the problem here.
http://forums.alliedmods.net/showthr...t=amx_language

But it seems not to be fully fixed.
Ie. If you set the language to en with the menu in game.
And then later on want to change it in your amxx.cfg
Code:
amx_language sv
This doesn't take effect at all on mapchange or server restart.
Instead the server read what language the server has in vault.ini where the server language is saved when using the amx_langmenu in game.

So the cvar amx_language is not really needed in amxx.cfg
It is only used so others can see what language the server has.

Do you really have to save the language to vault if the cvar amx_language exist?

// Lantz69
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
BAILOPAN
Join Date: Jan 2004
Old 09-09-2006 , 23:56   Re: [CVAR]amx_language dont work like it should
#2

I'm not sure what you're talking about. amx_language is an external cvar exposed so server browsers can pick up the language. Setting it does not have any effect.

To set the language, you should use "amx_setlang." As you said, it uses the vault to store this property. Why, I don't know, it was a design decision made a long time ago and not by me.
__________________
egg
BAILOPAN is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 09-10-2006 , 03:18   Re: [CVAR]amx_language dont work like it should
#3

Hmm no Im not sure either now as I must have placed that cvar (amx_language) in amxx.cfg a long time ago.
That is why I posted this confusing bug report
I was sure it came from the official amxx.cfg, but have now checked and saw that I was wrong.

Close this please
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
 



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 02:16.


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