16.02.2014, 00:49
remova esta parte
e a definiзгo de" PROTECTED "
e tambйm deletar a public Exit
pawn Код:
#if PROTECTED == 1
{
new ServerIP[20], ServerPort;
GetServerVarAsString("bind",ServerIP,20);
ServerPort = GetServerVarAsInt("port");
if(strcmp(ServerIP,PROTECTED_IP,false) != 0 || !strlen(ServerIP)) // Check server IP.
{
print("1This server has not the permission to use this gamemode..");
print("Server shutting down in 5 seconds");
SetTimer("Exit",5000,false);
return 0;
}
else if(ServerPort != PROTECTED_PORT) // If server port is different, end server.
{
print("2This server has not the permission to use this gamemode.");
print("Server shutting down in 5 seconds");
SetTimer("Exit",5000,false);
return 0;
}
}
#endif
e a definiзгo de" PROTECTED "
e tambйm deletar a public Exit