mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
Updated plugins
This commit is contained in:
parent
45ad8f9d1a
commit
0ef1d98c66
@ -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)) {
|
||||||
|
@ -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])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user