Results 1 to 10 of 35

Thread: Quick questions thread

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #30
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    I actually solved my problem.
    All I wanted was to avoid the localized string warning in the console, so I created a localized string (didn't know how to do it, I thought I only needed to precache a string).

    So, for people with the same doubt:
    Create a .str file in folder localizedstrings;
    Write your strings:
    Code:
    REFERENCE           WELCOME_MESSAGE
    LANG_ENGLISH        "^2Welcome to the battlefield"
    LANG_GERMAN         "#same"
    LANG_RUSSIAN        "#same"
    
    REFERENCE           SPAWN_PROTECTION_OFF
    LANG_ENGLISH        "^2Spawn protection ^1OFF^7"
    LANG_GERMAN         "#same"
    LANG_RUSSIAN        "#same"
    
    ENDMARKER
    Print it like this (where FILENAME is the name of the .str file you created):
    Code:
    player iprintln(&"FILENAME_SPAWN_PROTECTION_OFF");
    set logfile 2

  2. The Following User Says Thank You to guiismiti For This Useful Post:

    kung foo man (23rd March 2017)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •