AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_user_info lang (https://forums.alliedmods.net/showthread.php?t=153855)

reinert 03-30-2011 07:16

set_user_info lang
 
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..


All times are GMT -4. The time now is 14:37.

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