20.09.2010, 12:17
Hi guys I making a FS I make a dialog in FS but When i click cancel[!response] server kick me and show a msg server close the connection ? tHIS is my codes .
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2121)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, 0xAFAFAFAA, "");
}
return 1;
}
else if(!response)
{ }
}
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2121)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, 0xAFAFAFAA, "");
}
return 1;
}
else if(!response)
{ }
}
return 1;
}