11.03.2012, 13:50
Quote:
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" |