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
9 years ago
Diff never expires
Clear
Export
Share
Explain
0 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
24 lines
Copy
12 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
36 lines
Copy
#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
Copy
Copied
Copy
Copied
new const serverIP[] = "tutaj swoje ip";
public plugin_init() {
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_plugin(PLUGIN, VERSION, AUTHOR)
Copy
Copied
Copy
Copied
register_event("Health", "Health", "be", "1!255")
register_event("Health", "Health", "be", "1!255")
gmsgHealth = get_user_msgid("Health")
gmsgHealth = get_user_msgid("Health")
Copy
Copied
Copy
Copied
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");
}
}
Copy
Copied
Copy
Copied
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()
}
}
}
}
Saved diffs
Original text
Open file
#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() } }
Changed text
Open file
#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() } }
Find difference