if(strcmp(cmdtext, \"/adminok\", true) == 0) { printf(\"%s beírta a /adminok parancsot\\r\\n\", PlayerName(playerid)); msg(playerid, \"Elérhetõ adminok:\"); for(new i=0; i<PLAYERS; i++) { if(Info[admin] > 0 && Info[rejtozve] == 0) { new aszname[128]; GetPlayerName(i, sendername, sizeof(sendername)); if(Info[admin] == 1) format(aszname, sizeof(aszname), \"Kezdõ-Admin %s\", sendername); else if(Info[admin] == 2) format(aszname, sizeof(aszname), \"Haladó-Admin %s\", sendername); else if(Info[admin] == 3) format(aszname, sizeof(aszname), \"Fõ-Admin %s\", sendername); else format(aszname, sizeof(aszname), \"Admin %s\", sendername); SendClientMessage(playerid,COLOR_YELLOW, aszname); } } return 1; }
if(strcmp(cmdtext, \"/adminok\", true) == 0) { printf(\"%s beírta a /adminok parancsot\\r\\n\", PlayerName(playerid)); msg(playerid, \"Elérhetõ adminok:\"); for(new i=0; i<PLAYERS; i++) { if(Info[admin] > 0 && Info[rejtozve] == 0) { new aszname[128]; GetPlayerName(i, sendername, sizeof(sendername)); if(Info[admin] == 1) format(aszname, sizeof(aszname), \"Kezdõ-Admin %s\", sendername); else if(Info[admin] == 2) format(aszname, sizeof(aszname), \"Haladó-Admin %s\", sendername); else if(Info[admin] == 3) format(aszname, sizeof(aszname), \"Fõ-Admin %s\", sendername); else if(Info[admin] == 4 format(aszname, sizeof(aszname), \"Admin %s\", sendername); SendClientMessage(playerid,COLOR_YELLOW, aszname); } } return 1; }
Remélhetõleg, így szerintem jónak kellene lenni if(strcmp(cmdtext, \"/adminok\", true) == 0) { printf(\"%s beírta a /adminok parancsot\\r\\n\", PlayerName(playerid)); msg(playerid, \"Elérhetõ adminok:\"); for(new i=0; i<PLAYERS; i++) { if(Info[admin] > 0 && Info[rejtozve] == 0) { new aszname[128]; GetPlayerName(i, sendername, sizeof(sendername)); if(Info[admin] == 1) format(aszname, sizeof(aszname), \"Kezdõ-Admin %s\", sendername); else if(Info[admin] == 2) format(aszname, sizeof(aszname), \"Haladó-Admin %s\", sendername); else if(Info[admin] == 3) format(aszname, sizeof(aszname), \"Fõ-Admin %s\", sendername); else if(Info[admin] == 4 format(aszname, sizeof(aszname), \"Admin %s\", sendername); SendClientMessage(playerid,COLOR_YELLOW, aszname); } } return 1; }
if(strcmp(cmdtext, \"/adminok\", true) == 0) { printf(\"%s beírta a /adminok parancsot\\r\\n\", PlayerName(playerid)); msg(playerid, \"Elérhetõ adminok:\"); for(new i=0; i<PLAYERS; i++) { if(Info[admin] > 0 && Info[rejtozve] == 0) { new aszname[128]; GetPlayerName(i, sendername, sizeof(sendername)); if(Info[admin] == 1) format(aszname, sizeof(aszname), \"Kezdõ-Admin %s\", sendername); else if(Info[admin] == 2) format(aszname, sizeof(aszname), \"Haladó-Admin %s\", sendername); else if(Info[admin] == 3) format(aszname, sizeof(aszname), \"Fõ-Admin %s\", sendername); else format(aszname, sizeof(aszname), \"Admin %s\", sendername); SendClientMessage(playerid,COLOR_YELLOW, aszname); ShowPlayerDialog(playerid, 2334, DIALOG_STYLE_MSGBOX, \"..::Elérhetõ Adminisztrátorok::..\",sendername, \"Rendben\", \"\"); } } return 1; }