Sign in to follow this  
eedzhava

Выбор языка при входе в игру

Recommended Posts

Нужен скрипт, что бы при входе предоставлялся выбор языка, заранее спасибо

Share this post


Link to post
Share on other sites
function	script	langtype_change	{
	mes " ";
	mes "Choose your language.";
	mes " ";
	mes "Выберите Ваш язык.";
	switch(select("English.:Русский.")) {
		case 1:
			set #langtype, 0;
			atcommand "#langtype "+strcharinfo(0)+" ENG";
			next;
			mes "^3355FF########### AvaRO ###########^000000";
			mes "Enjoy the game!";
			specialeffect 49;
			close;
		case 2:
			set #langtype, 1;
			atcommand "#langtype "+strcharinfo(0)+" RUS";
			next;
			mes "^3355FF########### AvaRO ###########^000000";
			mes "Приятной Вам игры!";
			specialeffect 49;
			close;
	}
}

Пробуй!

  • MVP 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this