Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 8 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
7 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
10 lignes
Copier tout
49 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
52 lignes
Copier tout
Copier
Copié
Copier
Copié
public void OnClientDisconnect(int client) {
#pragma semicolon 1
char g_sid[32], g_nazwa[64];
Copier
Copié
Copier
Copié
#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"
};
Copier
Copié
Copier
Copié
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]);
}
}
Copier
Copié
Copier
Copié
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, " ");
}
Différences enregistrées
Texte d'origine
Ouvrir un fichier
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); }
Texte modifié
Ouvrir un fichier
#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, " "); }
Trouver la différence