Fixed compiler errors. -_-
This commit is contained in:
parent
8bf948b540
commit
07d6e1f8f1
|
@ -511,7 +511,7 @@ public Action:HitgroupsCommand(client, argc)
|
|||
if (!hitgroups)
|
||||
{
|
||||
TranslationReplyToCommand(client, "Feature is disabled");
|
||||
return;
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
// If not enough arguments given, then stop.
|
||||
|
@ -597,7 +597,7 @@ public Action:HitgroupsEnableAllCommand(client, argc)
|
|||
if (!hitgroups)
|
||||
{
|
||||
TranslationReplyToCommand(client, "Feature is disabled");
|
||||
return;
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
// x = Hitgroup index.
|
||||
|
@ -631,7 +631,7 @@ public Action:HitgroupsHeadshotsOnlyCommand(client, argc)
|
|||
if (!hitgroups)
|
||||
{
|
||||
TranslationReplyToCommand(client, "Feature is disabled");
|
||||
return;
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
// x = Hitgroup index.
|
||||
|
|
|
@ -96,12 +96,12 @@ bool:ZAdminMenu(client)
|
|||
//Format(logflags, sizeof(logflags), "%t", "!zadmin main logflags");
|
||||
|
||||
// Get conditions for options.
|
||||
new bool:hitgroups = GetConVarBool(g_hCvarsList[CVAR_HITGROUPS]);
|
||||
new bool:hitgroupsenabled = GetConVarBool(g_hCvarsList[CVAR_HITGROUPS]);
|
||||
|
||||
// Add items to menu.
|
||||
AddMenuItem(menu_zadmin, "classmultipliers", classmultipliers);
|
||||
AddMenuItem(menu_zadmin, "weapons", weapons);
|
||||
AddMenuItem(menu_zadmin, "hitgroups", hitgroups, MenuGetItemDraw(hitgroups));
|
||||
AddMenuItem(menu_zadmin, "hitgroups", hitgroups, MenuGetItemDraw(hitgroupsenabled));
|
||||
AddMenuItem(menu_zadmin, "infect", infect);
|
||||
AddMenuItem(menu_zadmin, "zspawn", zspawn);
|
||||
AddMenuItem(menu_zadmin, "ztele", ztele);
|
||||
|
|
Loading…
Reference in New Issue
Block a user