Config options now supports on/off along with yes/no.

Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
This commit is contained in:
Greyscale
2009-06-26 00:00:05 -07:00
parent 069627b620
commit 194eb9f2b8
8 changed files with 223 additions and 46 deletions

View File

@ -210,7 +210,7 @@ WeaponsMenuTypeWeapons(client)
decl String:unrestrictall[64];
Format(restrictall, sizeof(restrictall), "%t", "Weapons menu restrict types restrict all", typename);
Format(unrestrictall, sizeof(unrestrictall), "%t", "Weapons menu restrict types unrestrict all", typename);
Format(unrestrictall, sizeof(unrestrictall), "%t\n ", "Weapons menu restrict types unrestrict all", typename);
// Draw items as selectable only if not all weapons within the type are restricted or unrestricted.
AddMenuItem(menu_weapons_typeweapons, "restrictall", restrictall, MenuGetItemDraw(!RestrictIsTypeUniform(true, g_iWeaponsCurType[client])));