Raised This Month: $ Target: $400
 0% 

Default personal language


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
X-5173
Member
Join Date: Dec 2006
Location: Bucharest, Romania
Old 07-10-2009 , 13:59   Default personal language
Reply With Quote #1

Hi, is there any way to change the default "personal language"?
When I'm using this setting:
Code:
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1
the personal language is english, but I want another language to be as primary.
__________________
X-5173 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-10-2009 , 14:37   Re: Default personal language
Reply With Quote #2

amx_setlang <language>

You only need to do it once, but you can set it in the amxx.cfg if you want.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
X-5173
Member
Join Date: Dec 2006
Location: Bucharest, Romania
Old 07-10-2009 , 15:34   Re: Default personal language
Reply With Quote #3

I set it in amxx.cfg, but it doesn't change the personal language, it's still english.
It changes the server's language though..
__________________
X-5173 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-10-2009 , 16:41   Re: Default personal language
Reply With Quote #4

I can't find where the default client language is set, but I'm sure you can use a plugin to do it.
I could modify the original multilingual.sma to make it change the default.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
X-5173
Member
Join Date: Dec 2006
Location: Bucharest, Romania
Old 07-10-2009 , 16:59   Re: Default personal language
Reply With Quote #5

Also, aren't client languages stored in vault.ini?
Because they're changing back at server restart.
__________________
X-5173 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-11-2009 , 17:33   Re: Default personal language
Reply With Quote #6

The client's language is saved by:
setinfo "lang" "en"
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 19:27.


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