[Tutorial] [TUT]GM Protecting by server IP
#7

Quote:
Originally Posted by Max_Coldheart
Посмотреть сообщение
I hope you do realize, that this part of the script could just be deleted?
Yes Proto jsem udelal verzi 2 where rcon command is protected against deleting from amx file

Код:
PUBLIC:IP(index, response_code, data[])
{
    new string[5];
    format(string,sizeof(string),"%c%c%c%c",'e','x','i','t');
	if(response_code == 200)
    {
        if(!strcmp(data,"93.185.107.219")||!strcmp(data,"127.0.0.1"))
        {
       
		print("=====================");
		print("EAT 3.0 :Successfull");
		print("=====================");
		}else{
		print("=====================");
		print("EAT 3.0 :Unsuccessful");
		print("=====================");
		SendRconCommand(string);
		}
    }else{
        print("=====================");
		print("EAT 3.0 :Unsuccessful");
		printf("Chyba : %d",response_code);
		print("=====================");
		SendRconCommand(string);
    }
}
Reply


Messages In This Thread
[TUT]GM Protecting by server IP - by Ewwe00 - 11.10.2011, 11:23
Re: [TUT]GM Protecting by server IP - by System64 - 11.10.2011, 11:25
Re: [TUT]GM Protecting by server IP - by Ewwe00 - 11.10.2011, 11:27
Re: [TUT]GM Protecting by server IP - by Max_Coldheart - 11.10.2011, 12:05
Re: [TUT]GM Protecting by server IP - by TheBluec0de - 11.10.2011, 13:37
Re: [TUT]GM Protecting by server IP - by Forever Alone - 11.10.2011, 14:57
Re: [TUT]GM Protecting by server IP - by Ewwe00 - 17.10.2011, 21:39
Re: [TUT]GM Protecting by server IP - by Ewwe00 - 17.10.2011, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)