Diff
checker
Texto
Texto
Imágenes
Documentos
Excel
Carpetas
Legal
Enterprise
Aplicación de escritorio
Precios
Iniciar sesión
Descargar Diffchecker Desktop
Comparar texto
Encuentra la diferencia entre dos archivos de texto
Herramientas
Historial
Editor live
Ocultar sin cambios
Sin ajuste de línea
Vista
Dividido
Unificado
Nivel de detalle
Inteligente
Palabra
Letra
Resaltado de sintaxis
Elegir sintaxis
Ignorar
Transformar texto
Ir al primer cambio
Editar entrada
Diffchecker Desktop
La forma más segura de usar Diffchecker. ¡Obtén la app de Diffchecker Desktop: tus diffs nunca salen de tu computadora!
Obtener Desktop
Untitled diff
Creado
hace 8 años
El diff nunca expira
Borrar
Exportar
Compartir
Explicar
7 eliminaciones
Líneas
Total
Eliminado
Caracteres
Total
Eliminado
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
10 líneas
Copiar todo
49 adiciones
Líneas
Total
Añadido
Caracteres
Total
Añadido
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
52 líneas
Copiar todo
Copiar
Copiado
Copiar
Copiado
public void OnClientDisconnect(int client) {
#pragma semicolon 1
char g_sid[32], g_nazwa[64];
Copiar
Copiado
Copiar
Copiado
#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"
};
Copiar
Copiado
Copiar
Copiado
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]);
}
}
Copiar
Copiado
Copiar
Copiado
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, " ");
}
Diferencias guardadas
Texto original
Abrir archivo
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); }
Texto modificado
Abrir archivo
#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, " "); }
Encontrar la diferencia