How I can get server's IP
#8

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
That is just one worthless solution, you could #define the IP in that case in the script as well instead of doing that.
I want to do something like this:
Код:
public OnGameModeInit( )
{
    SERVER_IP = GetServerIP( );
    if( SERVER_IP != MY_IP && SERVER_IP != HOST_IP )
        SendRconCommand( "exit" );
}
A define don't detect current server IP.
Reply


Messages In This Thread
How I can get server's IP - by IstuntmanI - 06.07.2011, 10:25
Re: How I can get server's IP - by SmileyForCheat - 06.07.2011, 10:28
Re: How I can get server's IP - by IstuntmanI - 06.07.2011, 10:29
Re: How I can get server's IP - by SmileyForCheat - 06.07.2011, 10:33
Re: How I can get server's IP - by cessil - 06.07.2011, 10:33
Re: How I can get server's IP - by IstuntmanI - 06.07.2011, 10:39
Re: How I can get server's IP - by Jochemd - 06.07.2011, 10:46
Re: How I can get server's IP - by IstuntmanI - 06.07.2011, 11:11
Re: How I can get server's IP - by PrawkC - 06.07.2011, 11:38
Re: How I can get server's IP - by Mean - 06.07.2011, 11:41

Forum Jump:


Users browsing this thread: 2 Guest(s)