13.09.2009, 17:05
Is it wrong?
Thanks.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (dialogid == 1 && response || dialogid == 2 && response)
{
//Codes
return 1;
}
else if (dialogid == 0 && !(response) || dialogid == 1 && !(response) || dialogid == 2 && !(response))
{
Kick(playerid);
return 1;
}
else if (dialogid == 0 && response)
{
//Codes
return 1;
}
return 0;
}