Spring break cleanup.

Cleaning up all useless tabs, spaces, indents, you name it.
This commit is contained in:
zaCade
2018-07-23 17:06:03 +02:00
parent 0e8490f32f
commit c8b3433700
17 changed files with 925 additions and 962 deletions
+5 -5
View File
@@ -144,13 +144,13 @@ public Action Command_Spectate(int client, int argc)
return Plugin_Handled;
}
public Action Command_SpectateViaConsole(int client, char[] command, int args)
public Action Command_SpectateViaConsole(int client, char[] command, int args)
{
if ((IsPlayerAlive(client) && ZR_IsClientHuman(client)) && GetTeamClientCount(CS_TEAM_T) > 0 && GetTeamAliveClientCount(CS_TEAM_T) > 0)
LogPlayerEvent(client, "triggered", "switch_to_spec");
return Plugin_Continue;
}
return Plugin_Continue;
}
// Fix spec_goto crash exploit
public Action Command_GoTo(int client, const char[] command, int argc)
@@ -177,7 +177,7 @@ public Action Command_GoTo(int client, const char[] command, int argc)
stock int GetTeamAliveClientCount(int iTeam)
{
int ret = 0;
for (int i = 1; i <= MaxClients; i++)
{
if (!IsClientInGame(i) || GetClientTeam(i) != iTeam)
@@ -188,6 +188,6 @@ stock int GetTeamAliveClientCount(int iTeam)
ret++;
}
return ret;
}