[Include] Ulric Multi Language
#5

Quote:
Originally Posted by Xaviour212
Посмотреть сообщение
Example:
Код:
- Go to scriptfiles folder
- Create a new subfolder with name "Language"
- Go to subfolder Language, create a new english.txt file
- Double click english.txt, write on english.txt "welcome=Welcome to our server" (Not use "")

- Then, go to your gamemode, write a #include <Language> (my multi language include)
- Write under OnPlayerConnect, SetPlayerLanguage(playerid, "english");
- Under SetPlayerLanguage(playerid, "english"), write SendMultiLangMsg(playerid, 0xFFFFFFFF, GetPlayerLanguage(playerid), "welcome");
- Compile
- Now try connect to your server, You will get message "Welcome to our server"
Allright thanks for the example. Will Try to use this on the next update of my script!
Reply


Messages In This Thread
Ulric Multi Language - by Xaviour212 - 10.03.2012, 13:47
Re: Ulric Multi Language - by ilikenuts - 10.03.2012, 13:50
Re: Ulric Multi Language - by Ballu Miaa - 11.03.2012, 05:54
Re: Ulric Multi Language - by Xaviour212 - 11.03.2012, 07:29
Re: Ulric Multi Language - by Ballu Miaa - 11.03.2012, 13:50
Re: Ulric Multi Language - by Xaviour212 - 11.03.2012, 16:23
Re: Ulric Multi Language - by Mouheb - 11.03.2012, 17:21
Re: Ulric Multi Language - by Xaviour212 - 12.03.2012, 06:19

Forum Jump:


Users browsing this thread: 2 Guest(s)