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");