[Include] Ulric Multi Language
#4

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
Can you give us some more examples of How to use this include. Seems confusing to me mate.

Anyway this release is awesome!!
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"
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: 1 Guest(s)