03.07.2012, 23:16
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1) // Login Dialogue
{
if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "You clicked Quit"),Kick(playerid);
if(strlen(inputtext) >= 1) return SendClientMessage(playerid, 0xFFFFFFFF, "Strlen was > 1");
if(strlen(inputtext) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "Please actually enter a password"),SendClientMessage(playerid, 0xFFFFFFFF, "Please actually enter a password");
}
return 1;
}