01.07.2015, 11:41
Hi , i want to make a system to check if the ports is 7777 for example or not , if not the gamemode will close connection, is that possible ?
bind <yourserverip>
stock GetServerIP()
{
static
sIp[16]
;
GetServerVarAsString("bind", sIp, sizeof(sIp));
return sIp;
}
if( !strcmp(GetServerIP( ), "***.***.***.***" )) { print( "Your IP isn't correct !" ); }