Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Untitled diff
建立於
8 年前
差異永不過期
清除
匯出
分享
解釋
7 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
10 行
全部複製
49 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
52 行
全部複製
複製
已複製
複製
已複製
public void OnClientDisconnect(int client) {
#pragma semicolon 1
char g_sid[32], g_nazwa[64];
複製
已複製
複製
已複製
#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"
};
複製
已複製
複製
已複製
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, " ");
}
已保存差異
原始文本
開啟檔案
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); }
更改後文本
開啟檔案
#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, " "); }
尋找差異