Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include < amxmodx >
- new const szBlockMessage [ ] = { "Server cannot recive information from the plugin ^"PLUGIN NAME^" because its not your plugin !" }
- new const szMyIp [ ] = { "1.1.1.1:19999" }
- public plugin_init()
- {
- if( !equali( BlockOtherIps(), szMyIp ) )
- set_fail_state( szBlockMessage );
- }
- stock BlockOtherIps()
- {
- static szIp[ 21 ];
- get_user_ip( 0, szIp, charsmax( szIp ) );
- return szIp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement