dialog problem
#1

the problem is that when i use the first dialog ! when i press ok or i cancel ! i can't see the msg
and for the second dialog too ...
what's the problem ?
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	switch(dialodonator)
	{
		case 1:
		{
			if(!response)return SendClientMessage(playerid, GREY, "thnks for blablabla");
			SendClientMessage(playerid, GREY, "visit www.t-vi.gamerzfun.com");
			return 1;
		}
	}
	switch(lenguage)
	{
		case 1:
		{
			switch(listitem)// Checking which listitem was selected
			{
				case 0://english
				{
					gLenguage[ playerid ] = 0 ;
					SendClientMessage(playerid, RED, "Welcome to our server type /help");
					return 1;
				}
				case 1: //french
				{
					SendClientMessage(playerid, RED, "bienvenue /help");
					gLenguage[ playerid ] = 1 ;
					return 1;
				}
				case 2: ///////////esnol/////////////
				{
					SendClientMessage(playerid, RED, "bien venido a nuestro serve, escribe /help");
					gLenguage[ playerid ] = 2 ;
					return 1;
				}
				case 3: // deutch
				{
					SendClientMessage(playerid, RED, "welcome /help");
					gLenguage[ playerid ] = 3 ;
					return 1;
				}
			}
		}
	}
	return 1;
}
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)