Localization of your server
-
Password for the archive: libertycity
-
yadi.skDownloadPassword for the archive: libertycity
A simple script for MTA San Andreas, thanks to which it becomes possible to quickly translate the server into various languages. In order to add your language, write a new xml file in the meta.xml file in the langs folder based on other localization files. To get the desired text, launch the resource (if all the required text is included in the localization files) and then use the following function in the script you need to get the text you need:
exports.dt_lang:getText( , here you specify from which file you want to load the text)
For example:
1. Based on those xml files that are present in the archive, add your own text to them
2. Refer to it
exports.dt_lang:getText( "testtext", "ru" )
Can be used on any projects (currently if you will use it, point me somewhere as the one who participated in the development of your server :D )
And yes, if something is not clear, ask
Простенький скрипт для MTA San Andreas, благодаря которому появляется возможность быстрого перевода сервера на различные языки. Для того, чтобы добавить свой язык, пропишите новый xml файл в файле meta.xml в папке langs на основе других файлов локализации. Для получения нужного текста запустите ресурс(если весь нужный текст прописан в файлы локализации) и затем в нужном вам скрипте используйте вот такую функцию для получения нужного вам текста:
exports.dt_lang:getText( , тут указываете, из какого файла нужно загрузить текст )
Например:
1. На основе тех xml файлов, которые присутствуют в архиве, добавляем в них свой текст
2. Ссылаемся на него
exports.dt_lang:getText( "testtext", "ru" )
Можно использовать на любых проектах (ток если вы рил это будете использовать, укажите меня где-нибудь как того, кто поучаствовал в развитии вашего сервера :D )
И да, если что не понятно, спрашивайте
Recommended files

Take care of your health

Overview+ (Overview of your DYOM missions)

Admin area for your server V1

Correct creation of the server

Store mapping for your server

Video review of the LibertyCity Online server

Criminal Russia Multiplayer Rev C3 Windows Server


Empire of CJ v3.6

Empire of CJ v3.7

Ready DD|DM server for MTA

Chronicles of SAMP

Collection of skins from PAYDAY 2


Multi Theft Auto 1.5.8 R1 (MTA:SA) - Linux Server x32 and x64

