public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if (!IsLetterOrNumber(inputtext)) { SendClientMessage(playerid, -1, "You can only use letters or numbers."); return 1; } }