18.06.2011, 09:00
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 ?
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;
}

