batch remove trailing spaces and convert windows \r\n line endings to linux \n

i don't want to have to do this again, fix your shitty code editors @commiters !!!
This commit is contained in:
BotoX
2018-08-09 19:35:44 +02:00
parent ff970b8d5f
commit eefb23882b
30 changed files with 1992 additions and 1992 deletions
@@ -1,7 +1,7 @@
#include <sourcemod>
#pragma semicolon 1
public Plugin:myinfo =
public Plugin:myinfo =
{
name = "Players count in hostname",
author = "D1maxa",
@@ -18,7 +18,7 @@ new Handle:formatted_hostname = INVALID_HANDLE;
public OnPluginStart()
{
hostname = FindConVar("hostname");
sv_visiblemaxplayers = FindConVar("sv_visiblemaxplayers");
sv_visiblemaxplayers = FindConVar("sv_visiblemaxplayers");
formatted_hostname=CreateConVar("sm_formatted_hostname", "My Server %d/%d", "Formatted string for dynamic hostname",FCVAR_PLUGIN);
}
@@ -26,12 +26,12 @@ public OnMapStart()
{
g_NumClients=0;
}
public OnConfigsExecuted()
{
SetNumberOfPlayersInHostname();
}
public OnClientConnected(client)
{
if(!IsFakeClient(client))
@@ -44,7 +44,7 @@ public OnClientConnected(client)
public OnClientDisconnect(client)
{
if(!IsFakeClient(client))
{
{
g_NumClients--;
SetNumberOfPlayersInHostname();
}