mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-08 19:08:27 +00:00
remove admin requirement for debug targetname
This commit is contained in:
parent
1c82605db5
commit
68a57b9123
@ -740,12 +740,9 @@ Action ShowHUDMenu(int client, int item)
|
|||||||
menu.AddItem(sInfo, sHudItem);
|
menu.AddItem(sInfo, sHudItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CheckCommandAccess(client, "shavit_admin", ADMFLAG_BAN))
|
FormatEx(sInfo, 16, "!%d", HUD_DEBUGTARGETNAME);
|
||||||
{
|
FormatEx(sHudItem, 64, "%T", "HudDebugTargetname", client);
|
||||||
FormatEx(sInfo, 16, "!%d", HUD_DEBUGTARGETNAME);
|
menu.AddItem(sInfo, sHudItem);
|
||||||
FormatEx(sHudItem, 64, "%T", "HudDebugTargetname", client);
|
|
||||||
menu.AddItem(sInfo, sHudItem);
|
|
||||||
}
|
|
||||||
|
|
||||||
// HUD2 - disables selected elements
|
// HUD2 - disables selected elements
|
||||||
FormatEx(sInfo, 16, "@%d", HUD2_TIME);
|
FormatEx(sInfo, 16, "@%d", HUD2_TIME);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user