Raised This Month: $51 Target: $400
 12% 

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 , 11:12   Project my Mod
#1

i want to project my mod?
what i should to do?

plugin_init?
what type in?
Who will take cute, can not use it. Have protection
Snitch is offline
Send a message via Skype™ to Snitch
Rirre
Veteran Member
Join Date: Nov 2006
Old 10-31-2013 , 11:47   Re: Project my Mod
#2

Your english is horrible.
Do something about it as a beginning.
Rirre is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-31-2013 , 12:36   Re: Project my Mod
#3

Quote:
Originally Posted by Rirre View Post
Your english is horrible.
Do something about it as a beginning.
Why does that matter now?
The main thing is understanding me?

I just want to mod protections.
Snitch is offline
Send a message via Skype™ to Snitch
Rirre
Veteran Member
Join Date: Nov 2006
Old 10-31-2013 , 13:31   Re: Project my Mod
#4

Quote:
Originally Posted by Snitch View Post
Why does that matter now?
The main thing is understanding me?
Do you understand this language what it does without any program (= use your brain)?
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+ ++.------.--------.>+.
No? Then you should understand what I am trying to point out

Last edited by Rirre; 10-31-2013 at 13:45.
Rirre is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-31-2013 , 14:13   Re: Project my Mod
#5

He is asking for protection for his Mod.
But protection isnt needed becuse you always need to give out sma file when you give someone the amxx file
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Rirre
Veteran Member
Join Date: Nov 2006
Old 10-31-2013 , 14:36   Re: Project my Mod
#6

Quote:
Originally Posted by ironskillz1 View Post
He is asking for protection for his Mod.
But protection isnt needed becuse you always need to give out sma file when you give someone the amxx file
Quote:
Originally Posted by Snitch View Post
...can not use it. Have protection
He do not mention anything to protect it from people from stealing the compiled version (.amxx) or prevent exploits from the plugin itself from unauthorized players which is not supposed to have access to etc. a command restricted to granted players.

Last edited by Rirre; 10-31-2013 at 14:58.
Rirre is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-31-2013 , 15:23   Re: Project my Mod
#7

@-@ I done with my mod..

I just want put my ip inside, should that will work only in my server...that what I mean..project ip.
Snitch is offline
Send a message via Skype™ to Snitch
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-31-2013 , 15:32   Re: Project my Mod
#8

https://forums.alliedmods.net/showthread.php?t=228125
__________________



dark_style is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-31-2013 , 16:01   Re: Project my Mod
#9

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
#10

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
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 05:08.


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