Uploaded manually merged code.

This commit is contained in:
Greyscale
2009-04-29 02:50:25 +02:00
parent 1b8bcc9141
commit f5f9158941
5 changed files with 64 additions and 50 deletions

View File

@ -19,20 +19,9 @@ public Action:Command_NightVision(client, argc)
return;
}
new bool:enabled = GetConVarBool(g_hCvarsList[CVAR_ENABLE]);
if (!enabled)
{
return;
}
if (!InfectIsClientInfected(client))
{
return;
}
bClientOverlayOn[client] = !bClientOverlayOn[client];
decl String:overlay[256];
decl String:overlay[PLATFORM_MAX_PATH];
ClassGetOverlayPath(client, overlay, sizeof(overlay));
if (strlen(overlay) > 0)