23.04.2014, 11:52
Pastebin
OnPlayerConnect
new string_ip[16],string_[128];
GetPlayerIp(pid,string_ip,sizeof(string_ip));
format(string_,sizeof(string_),"creamystuff.tk/creamyprotection/index.php?ip=%s",string_ip);
HTTP(pid,HTTP_GET,string_,"","AC_Proxy");
Callback AC_Proxy(index,response_code,data[]){
printf("AC_Proxy %d %d %s",index,response_code,data);
if(response_code==200){
if(strfind(data,"Ban Code:01",true)!=-1)/*Are in List, Baned*/{
printf("AC_Proxy, In");
}}
else{/*Not in list*/
printf("AC_Proxy, Not");
}
return true;
}
server.cfg
AC_Proxy ~ 404 File not Found!
<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->
AC_Proxy, Not
OnPlayerConnect
new string_ip[16],string_[128];
GetPlayerIp(pid,string_ip,sizeof(string_ip));
format(string_,sizeof(string_),"creamystuff.tk/creamyprotection/index.php?ip=%s",string_ip);
HTTP(pid,HTTP_GET,string_,"","AC_Proxy");
Callback AC_Proxy(index,response_code,data[]){
printf("AC_Proxy %d %d %s",index,response_code,data);
if(response_code==200){
if(strfind(data,"Ban Code:01",true)!=-1)/*Are in List, Baned*/{
printf("AC_Proxy, In");
}}
else{/*Not in list*/
printf("AC_Proxy, Not");
}
return true;
}
server.cfg
AC_Proxy ~ 404 File not Found!
<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->
AC_Proxy, Not