Updated plugins

This commit is contained in:
OciXCrom 2018-02-10 18:55:35 +01:00
parent 45ad8f9d1a
commit 0ef1d98c66
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public cmdRandom(id,level,cid) {
else { else {
new cur=0; new cur=0;
new i=1; new i=1;
new bool:super = bool:(get_user_flags(id) & ADMIN_SUPER) new bool:super = bool:(get_user_flags(id) & ADMIN_SUPER);
while (i<MaxClients) { while (i<MaxClients) {
if (is_user_connected(i)) { if (is_user_connected(i)) {

View File

@ -345,7 +345,7 @@ displayBanMenu(id, pos)
new len = formatex(menuBody, charsmax(menuBody), g_coloredMenus ? "\y%L\R%d/%d^n\w^n" : "%L %d/%d^n^n", id, "BAN_MENU", pos + 1, (g_menuPlayersNum[id] / 7 + ((g_menuPlayersNum[id] % 7) ? 1 : 0))); new len = formatex(menuBody, charsmax(menuBody), g_coloredMenus ? "\y%L\R%d/%d^n\w^n" : "%L %d/%d^n^n", id, "BAN_MENU", pos + 1, (g_menuPlayersNum[id] / 7 + ((g_menuPlayersNum[id] % 7) ? 1 : 0)));
new end = start + 7; new end = start + 7;
new keys = MENU_KEY_0|MENU_KEY_8; new keys = MENU_KEY_0|MENU_KEY_8;
new bool:super = bool:(get_user_flags(id) & ADMIN_SUPER) new bool:super = bool:(get_user_flags(id) & ADMIN_SUPER);
if (end > g_menuPlayersNum[id]) if (end > g_menuPlayersNum[id])
{ {