dialog problem
#5

this is the new code and not working
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	switch(dialogid)
	{
		case lenguage:
		{
			if(response)
			{
				switch(listitem)// Checking which listitem was selected
				{
					case 0://english
					{
						gLenguage[ playerid ] = 0 ;
						SendClientMessage(playerid, RED, "Welcome to our server type /help");
					}
					case 1: //french
					{
						SendClientMessage(playerid, RED, "bienvenue /help");
						gLenguage[ playerid ] = 1 ;
					}
					case 2: ///////////esnol/////////////
					{
						SendClientMessage(playerid, RED, "bien venido a nuestro serve, escribe /help");
						gLenguage[ playerid ] = 2 ;
					}
					case 3: // deutch
					{
						SendClientMessage(playerid, RED, "welcome /help");
						gLenguage[ playerid ] = 3 ;
					}
				}
			}
			return 0;
		}
		case dialodonator:
		{
			if(!response)return SendClientMessage(playerid, GREY, "visit www.t-vi.gamerzfun.com");
			SendClientMessage(playerid, GREY, "visit www.t-vi.gamerzfun.com");
			return 1;
		}
	}
	return 0;
}
Reply


Messages In This Thread
dialog problem - by Amine_Mejrhirrou - 18.06.2011, 09:00
Re: dialog problem - by Wesley221 - 18.06.2011, 09:18
Re : dialog problem - by Amine_Mejrhirrou - 18.06.2011, 09:54
Re: dialog problem - by Wesley221 - 18.06.2011, 09:58
Re : dialog problem - by Amine_Mejrhirrou - 18.06.2011, 10:08
Re: dialog problem - by Wesley221 - 18.06.2011, 10:14
Re : dialog problem - by Amine_Mejrhirrou - 18.06.2011, 10:17
Re : dialog problem - by Amine_Mejrhirrou - 18.06.2011, 20:30

Forum Jump:


Users browsing this thread: 2 Guest(s)