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

[ANY] Set Client Language


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Plugin ID:
2281
Plugin Version:
1.0.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Force to set client language instead of selected by default
    Old 03-19-2011 , 12:11   [ANY] Set Client Language
    Reply With Quote #1

    Simple client language changer

    Requires:
    SM 1.3.7-hg3109+ or 1.4.0-hg3198+, clientprefs
    How to install:
    Drag and drop!
    Commands:
    Code:
    // Call menu to select language
    sm_setlanguage
    sm_setlang
    sm_language // appears if "GeoIP Language Selection" plugin isn't loaded 
    sm_lang
    
    // Admin command:
    // Remote setting new language
    // Note that client must be in game
    sm_scl_cookie <#userid|pname|name> [lang_id]
    Attached Files
    File Type: sp Get Plugin or Get Source (setlang.sp - 1291 views - 5.5 KB)
    __________________

    Last edited by DarthNinja; 11-05-2011 at 06:54. Reason: Removed compiled version - compiles fine on forums.
    Leonardo is offline
    GoD-Tony
    Veteran Member
    Join Date: Jul 2005
    Old 03-19-2011 , 13:36   Re: [ANY] Set Client Language
    Reply With Quote #2

    SetClientLanguage() should be in the 1.3.7 snapshots as well.

    I shall use your language menu code and give you credit, good sir.
    GoD-Tony 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 09:39.


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