Raised This Month: $ Target: $400
 0% 

Best plugin protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
outsiderlv
Senior Member
Join Date: Mar 2010
Old 08-08-2010 , 02:21   Re: Best plugin protection
Reply With Quote #1

1) This code isnt working.
2) I need to check domain, not ip. (if server domain is cs.domain.lv)
3) And how to check servername?

new ip[16], port[8]
new komplet[30]
get_cvar_string("ip", ip, charsmax )
get_cvar_string("port", port, charsmax(port))
format(komplet,charsmax(komplet), "%s:%s", ip, port)......
....................
..........................

{
if (equal ( komplet, "213.213.213:27015"))
return PLUGIN_CONTINUE
{
else
{
set_fail_state ( "Illegal USE")
}
outsiderlv is offline
Reply



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 00:16.


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