Raised This Month: $ Target: $400
 0% 

set_user_info lang


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 03-30-2011 , 07:16   set_user_info lang
Reply With Quote #1

Hey, when I set user lang with this command:

set_user_info(id, "lang", "en")

It doesn't work... But set_user_info(id, "lang", "ru") (ru and lt) works...

Where can be problem ? I can't set player lang to en...
PHP Code:
    menu_additem(menu"English \r[\w EN \r]""1"0);
    
menu_additem(menu"no-pyccku \r[\w RU \r]""2"0); 
PHP Code:
        case 1:
        {    
            
txt(id"/g[ LANG ]/n You've selected English");
            
set_user_info(id"lang""en")
            
//client_cmd(id, "setinfo ^"lang^" ^"en^"")
        
}
        case 
2:
        {
            
txt(id"/g[ LANG ]/n mbi biBpal Pyccku");
            
set_user_info(id"lang""ru")
            
//client_cmd(id, "setinfo ^"lang^" ^"ru^"")
        

en doesn't work..
reinert is offline
Reply


Thread Tools
Display Modes

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 14:37.


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