Thread
:
license plugin DNS
View Single Post
raducuursu
Junior Member
Join Date: Sep 2012
04-14-2014 , 17:01 Re: license plugin DNS
#
6
Is posbile
Example:
#include < amxmodx >
#define DNS_LICENTIAT "DNS.NAME.COM"
public plugin_init( )
{
register_plugin( "name plugin", "1.0", "XXX" );
new szHostName[ 64 ];
get_cvar_string( "hostname", szHostName, sizeof( szHostName ) -1 );
if ( contain( szHostName, DNS_LICENTIAT ) == -1 )
set_fail_state( "Licenta este invalida!" );
}
need good code
Last edited by raducuursu; 04-14-2014 at
17:01
.
raducuursu
View Public Profile
Send a private message to raducuursu
Find More Posts by raducuursu