Raised This Month: $ Target: $400
 0% 

Project my Mod


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-31-2013 , 16:01   Re: Project my Mod
#1

thank you. that should be work?
if I type my ip inside, the mod will running only in my server?

PHP Code:
 public plugin_init()
{
  new 
addr[32];
  
get_user_ip(0addrcharsmax(addr));

  if (!
equal(addr"89.44.44.44:27000"))
  {
    
log_error(0"Remove XXXX plugin.");
    for (new 
0i+1i++){
         
// infinite loop
    
}
  }

what that: log error remove xxx?
what that mean?
Snitch is offline
Send a message via Skype™ to Snitch
Rirre
Veteran Member
Join Date: Nov 2006
Old 10-31-2013 , 16:55   Re: Project my Mod
#2

Quote:
Originally Posted by Snitch View Post
what that: log error remove xxx?
what that mean?
amxmodx.inc
Code:
/* Logs an error in your native, and breaks into the debugger.  * Acts as if the calling plugin had the error.  */ native log_error(error, const fmt[], any:...);
Rirre is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-31-2013 , 16:55   Re: Re: Project my Mod
#3

Quote:
Originally Posted by Snitch View Post
thank you. that should be work?
if I type my ip inside, the mod will running only in my server?
It will works until someone decides to counter it, which isn't that hard
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread



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 23:14.


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