Raised This Month: $ Target: $400
 0% 

Licensed Class


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-21-2012 , 05:11   Re: Licensed Class
Reply With Quote #4

PHP Code:
#include < amxmodx >

// Licensed IP
#define LICENSED_CLASS_IP "84.247."

public plugin_init() {
    new 
LICENSED_IP[24];
    
get_user_ip(0LICENSED_IP231);
    
    if( !( -
!= containi(LICENSED_IPLICENSED_CLASS_IP)) )
       
set_fail_state("You have no licensed class ip, the plugin will not work.");

__________________

Last edited by claudiuhks; 04-21-2012 at 05:12.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode