[Ajuda] GetServerPort
#5

Quote:
Originally Posted by RodrigoMSR
Посмотреть сообщение
Substitua !strlen por isnull.
Tentei
Код:
    // ip
	#define IP_PERMITIDO "127.0.0.1"
    new SERVER_IP[16];
    GetServerVarAsString("bind", SERVER_IP, sizeof SERVER_IP);
    if(strcmp(SERVER_IP,IP_PERMITIDO) || isnull(SERVER_IP)) return CloseServerProtection();
Mas continua fechando o servidor errado :\
Reply


Messages In This Thread
GetServerPort - by pdonald - 23.07.2017, 19:16
Re: GetServerPort - by rjjj - 23.07.2017, 19:24
Re: GetServerPort - by pdonald - 23.07.2017, 20:58
Re: GetServerPort - by RodrigoMSR - 23.07.2017, 21:07
Re: GetServerPort - by pdonald - 23.07.2017, 23:09
Re: GetServerPort - by testi_man - 23.07.2017, 23:17
Re: GetServerPort - by rjjj - 24.07.2017, 01:26
Re: GetServerPort - by F1N4L - 24.07.2017, 16:51
Re: GetServerPort - by rjjj - 24.07.2017, 20:52
Re: GetServerPort - by pdonald - 29.07.2017, 19:17

Forum Jump:


Users browsing this thread: 3 Guest(s)