Spring break cleanup.
Cleaning up all useless tabs, spaces, indents, you name it.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user