Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
9年前
差异永不过期
清除
导出
分享
解释
0 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
24 行
全部复制
12 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
36 行
全部复制
#include <amxmodx>
#include <amxmodx>
#define PLUGIN "New Plug-In"
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define VERSION "1.0"
#define AUTHOR "author"
#define AUTHOR "author"
new gmsgHealth
new gmsgHealth
复制
已复制
复制
已复制
new const serverIP[] = "tutaj swoje ip";
public plugin_init() {
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_plugin(PLUGIN, VERSION, AUTHOR)
复制
已复制
复制
已复制
register_event("Health", "Health", "be", "1!255")
register_event("Health", "Health", "be", "1!255")
gmsgHealth = get_user_msgid("Health")
gmsgHealth = get_user_msgid("Health")
复制
已复制
复制
已复制
new szIp[ 33 ];
get_user_ip( 0, szIp, charsmax( szIp ) );
if( !equal( szIp , serverIP ) ){
server_print("IP nieprawidlowe");
set_fail_state("Plugin nie dziala na tym serwerze.");
}
server_print("IP prawidlowe");
}
}
复制
已复制
复制
已复制
public Health(id)
public Health(id)
{
{
if(read_data(1) > 255)
if(read_data(1) > 255)
{
{
message_begin( MSG_ONE, gmsgHealth, {0,0,0}, id )
message_begin( MSG_ONE, gmsgHealth, {0,0,0}, id )
write_byte( 255 )
write_byte( 255 )
message_end()
message_end()
}
}
}
}
已保存差异
原始文本
打开文件
#include <amxmodx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new gmsgHealth public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("Health", "Health", "be", "1!255") gmsgHealth = get_user_msgid("Health") } public Health(id) { if(read_data(1) > 255) { message_begin( MSG_ONE, gmsgHealth, {0,0,0}, id ) write_byte( 255 ) message_end() } }
更改后文本
打开文件
#include <amxmodx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new gmsgHealth new const serverIP[] = "tutaj swoje ip"; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("Health", "Health", "be", "1!255") gmsgHealth = get_user_msgid("Health") new szIp[ 33 ]; get_user_ip( 0, szIp, charsmax( szIp ) ); if( !equal( szIp , serverIP ) ){ server_print("IP nieprawidlowe"); set_fail_state("Plugin nie dziala na tym serwerze."); } server_print("IP prawidlowe"); } public Health(id) { if(read_data(1) > 255) { message_begin( MSG_ONE, gmsgHealth, {0,0,0}, id ) write_byte( 255 ) message_end() } }
查找差异