11.10.2011, 11:23
Код:
#include <a_http>
Код:
<? echo $_SERVER["REMOTE_ADDR"]; ?>
Код:
HTTP(0, HTTP_GET, "YOURWEBSITE", "", "IP");
Код:
forward IP(index, response_code, data[]); public IP(index, response_code, data[]) { if(response_code == 200) { if(!strcmp(data,YOURSERVERIP)) {print("OK");}else{SendRconCommand("exit");} } else { SendRconCommand("exit"); } }
YOURSERVERIP is ip yours server
Sorry for my english.Thanks for attention.