Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
8 years ago
Diff never expires
Clear
Export
Share
Explain
7 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
10 lines
Copy
49 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
52 lines
Copy
Copy
Copied
Copy
Copied
public void OnClientDisconnect(int client) {
#pragma semicolon 1
char g_sid[32], g_nazwa[64];
Copy
Copied
Copy
Copied
#define DEBUG
GetClientAuthId(client, AuthId_Steam2, g_sid, sizeof(g_sid));
GetClientName(client, g_nazwa, sizeof(g_nazwa));
#define PLUGIN_AUTHOR "Roberrtooo"
#define PLUGIN_VERSION "0.0.1"
PrintToChatAll("Gracz %s rozlaczyl sie z serwerem! \n Jego SID to: %s", g_nazwa, g_sid);
#include <sourcemod>
#pragma newdecls required
char g_cSteamID[64][64];
EngineVersion g_Game;
public Plugin myinfo =
{
name = "[Roberrt] Client Info on Disconnect",
author = PLUGIN_AUTHOR,
description = "",
version = PLUGIN_VERSION,
url = "roberrt.eu"
};
Copy
Copied
Copy
Copied
public void OnPluginStart()
{
g_Game = GetEngineVersion();
if (g_Game != Engine_CSGO && g_Game != Engine_CSS)
{
SetFailState("This plugin is for CSGO/CSS only.");
}
}
public void OnClientAuthorized(int client, const char[] auth)
{
if (client == 0)
{
return;
}
Format(g_cSteamID[client], 64, auth);
PrintToConsoleAll("[ CS-4Frags.PL ] Gracz %N [%s] wchodzi na serwer...", client, g_cSteamID[client]);
PrintToServer("[ CS-4Frags.PL ] Gracz %N [%s] wchodzi na serwer...", client, g_cSteamID[client]);
}
}
Copy
Copied
Copy
Copied
public void OnClientDisconnect(int client)
{
if (client == 0)
{
return;
}
PrintToConsoleAll("[ CS-4Frags.PL ] Gracz %N [%s] opuścił serwer...", client, g_cSteamID[client]);
PrintToServer("[ CS-4Frags.PL ] Gracz %N [%s] opuścił serwer...", client, g_cSteamID[client]);
Format(g_cSteamID[client], 64, " ");
}
Saved diffs
Original text
Open file
public void OnClientDisconnect(int client) { char g_sid[32], g_nazwa[64]; GetClientAuthId(client, AuthId_Steam2, g_sid, sizeof(g_sid)); GetClientName(client, g_nazwa, sizeof(g_nazwa)); PrintToChatAll("Gracz %s rozlaczyl sie z serwerem! \n Jego SID to: %s", g_nazwa, g_sid); }
Changed text
Open file
#pragma semicolon 1 #define DEBUG #define PLUGIN_AUTHOR "Roberrtooo" #define PLUGIN_VERSION "0.0.1" #include <sourcemod> #pragma newdecls required char g_cSteamID[64][64]; EngineVersion g_Game; public Plugin myinfo = { name = "[Roberrt] Client Info on Disconnect", author = PLUGIN_AUTHOR, description = "", version = PLUGIN_VERSION, url = "roberrt.eu" }; public void OnPluginStart() { g_Game = GetEngineVersion(); if (g_Game != Engine_CSGO && g_Game != Engine_CSS) { SetFailState("This plugin is for CSGO/CSS only."); } } public void OnClientAuthorized(int client, const char[] auth) { if (client == 0) { return; } Format(g_cSteamID[client], 64, auth); PrintToConsoleAll("[ CS-4Frags.PL ] Gracz %N [%s] wchodzi na serwer...", client, g_cSteamID[client]); PrintToServer("[ CS-4Frags.PL ] Gracz %N [%s] wchodzi na serwer...", client, g_cSteamID[client]); } public void OnClientDisconnect(int client) { if (client == 0) { return; } PrintToConsoleAll("[ CS-4Frags.PL ] Gracz %N [%s] opuścił serwer...", client, g_cSteamID[client]); PrintToServer("[ CS-4Frags.PL ] Gracz %N [%s] opuścił serwer...", client, g_cSteamID[client]); Format(g_cSteamID[client], 64, " "); }
Find difference