Dialog:ANev(playerid, response, listitem, inputtext[]){if(!response) return ShowDialog(playerid, Show:<ANev>, DIALOG_STYLE_INPUT, \"AdminNév\", \"Írd be az adminneved:\", \"Ezt!\", \"Mégse\");if(strlen(inputtext) == 0) return ShowDialog(playerid, Show:<ANev>, DIALOG_STYLE_INPUT, \"AdminNév\", \"Írd be az adminneved:\", \"Ezt!\", \"Mégse\");strmid(pInfo[playerid][jANev], inputtext, 0, strlen(inputtext), 50); JatekosMent(playerid); GetPlayerName(playerid, DiaNev, sizeof(DiaNev));Uzenet(playerid, C_UZENET, \"Sikeresen beállítottad az AdminNeved!\"); format(DiaStr, sizeof(DiaStr), \"%s AdminNevet választott: %s\", DiaNev, pInfo[playerid][jANev]); AdminUzenet(C_ADMIN, DiaStr); return 1;}
strmid(pInfo[playerid][jANev], inputtext, 0, strlen(inputtext) + 1, 50);