#pragma warning disable 213
#pragma warning disable 220	

#if !defined MAX_SERVER_NAME
    #define MAX_SERVER_NAME (48)
#endif

#if !defined MAX_HOST_NAME
    #define MAX_HOST_NAME (64)
#endif

#if !defined MAX_MODE_NAME
    #define MAX_MODE_NAME (64)
#endif

#if !defined MAX_MAP_NAME
    #define MAX_MAP_NAME (64)
#endif

#if !defined MAX_SERVER_IP_LEN
    #define MAX_SERVER_IP_LEN (21)
#endif

#if !defined MAX_SITE_NAME
    #define MAX_SITE_NAME (32)
#endif

#if !defined MAX_FORUM_NAME
    #define MAX_FORUM_NAME (64)
#endif

#if !defined MAX_VK_NAME
    #define MAX_VK_NAME (32)
#endif

#if !defined MAX_CVET_NAME
    #define MAX_CVET_NAME (32)
#endif

#if !defined MAX_SPISOK_NAME
    #define MAX_SPISOK_NAME (32)
#endif

#if !defined MAX_MYSQL_HOST
    #define MAX_MYSQL_HOST (32)
#endif

#if !defined MAX_MYSQL_USER
    #define MAX_MYSQL_USER (32)
#endif

#if !defined MAX_MYSQL_PASS
    #define MAX_MYSQL_PASS (32)
#endif

#if !defined MAX_MYSQL_DB
    #define MAX_MYSQL_DB (32)
#endif

#if !defined MAX_SERVERS
    #define MAX_SERVERS (7)
#endif

new num_srv;

enum _srv_list {
	srv_localhost,
    srv_Test,
    srv_Life,
    srv_Mega,
    srv_Onyx,
    srv_Empire,
    srv_Platinum,
    srv_Gold
};
enum _srv_info {
    srvName[MAX_SERVER_NAME],
	srvHostName[MAX_HOST_NAME],
	srvModeName[MAX_MODE_NAME],
	srvMapName[MAX_MAP_NAME],
	srvIP[MAX_SERVER_IP_LEN],
	srvSite[MAX_SITE_NAME],
	srvForum[MAX_FORUM_NAME],
	srvVK[MAX_VK_NAME],
	srvCvet[MAX_CVET_NAME],
	srvSpisok[MAX_SPISOK_NAME],
	srvCvet16[MAX_CVET_NAME]
};

new const srvInfo[_srv_list][_srv_info] = {
	{
		"Localhost", //                 
		"Eternity | Test by Dorrian", //                             
		"   ETERNITY   ", // Gamemode          
		"Russian", //             
		"127.0.0.1:7777", // IP        
		"localhost", //             
		"forum", //              
		"vk.com", //               
		"{FF0000}", //               
		"LOCAL", //               
		0xFF0000FF
	},
	{
		"Test", //                 
		"Eternity / Grand |                ", //                             
		"   ETERNITY   ", // Gamemode          
		"Russian", //             
		"127.0.0.1:7777", // IP        
		"localhost", //             
		"forum", //              
		"vk.com", //               
		"{FF0000}", //               
		"LIFE", //               
		0xFF0000FF
	},
	{
		"ETERNITY",
		"Eternity RP | Life |                            ...",
		"Line Mode",
		"Russian.",
		"51.75.232.66:7772",
		"etrp.su",
		"forum.eternity-rp.ru", //              
		"vk.com/etrp.life",
		"{ffb94f}",
		"LIFE", //               
		0xffb94fFF
	},
	{
		"ETERNITY",
		"Eternity RP | Mega |                            ...",
		"   Eternity   ",
		"Russian.",
		"37.230.137.146:7777",
		"etrp.su",
		"forum.eternity-rp.ru", //              
		"vk.com/etrp.life",
		"{FF5349}",
		"MEGA", //               
		0xFF5349FF
	},
	{
		"ETERNITY",
		"Eternity RP | Onyx |                            ...",
		"Line Mode",
		"Russian",
		"46.174.48.87:7772",
		"etrp.su",
		"forum.etrp.su", //              
		"vk.com/etrp.life",
		"{6495ED}",
		"Onyx", //               
		0x6495EDFF
	},
	{
		"ETERNITY",
		"Eternity RP | Empire |                            ...",
		"   Eternity   ",
		"Russian",
		"176.32.39.128:7777",
		"etrp.su",
		"forum.eternity-rp.ru", //              
		"vk.com/etrp.life",
		"{B789CF}",
		"EMPIRE", //               
		0xB789CFFF
	},
 	{
		"PAYDAY",
		"PAYDAY RP | Platinum |                            ...",
		"     PAYDAY     ",
		"Russian",
		"127.0.0.1:7772",
		"payday.su",
		"forum.payday.su", //              
		"vk.com/pdrpsamp",
		"{EBA225}",
		"PLATINUM", //               
		0xEBA225FF
	},
    {
		"PAYDAY",
		"PAYDAY RP | Gold |                            ...",
		"     PAYDAY     ",
		"Russian",
		"127.0.0.1:7773",
		"payday.su",
		"forum.payday.su", //              
		"vk.com/pdrpsamp",
		"{ffb94f}",
		"GOLD", //               
		0xffb94fFF
	}
};

enum _srv_sql {
    srvHost[MAX_MYSQL_HOST],
    srvUser[MAX_MYSQL_USER],
    srvBase[MAX_MYSQL_DB],
    srvPass[MAX_MYSQL_PASS]
};

new const srvSql[_srv_list][_srv_sql] = {
    {
        "localhost",
        "root",
        "life",
        ""
    },
    {
        "db4.myarena.ru",
        "u25646_eternity",
        "u25646_mega",
        "Eternit-pad-779"
    },
    {
        "127.0.0.1",
        "gs234923",
        "gs234923",
        "Line-pad-888"
    },
    {
        "127.0.0.1",
        "gs234923",
        "gs234923",
        "Line-pad-888"
    },
    {
        "db0.gamehost.itcloud.io",
        "samp_etrp_gamemmode",
        "samp_etrp_onyx",
        "asdasd"
    },
    {
        "db0.gamehost.itcloud.io",
        "samp_etrp_gamemmode",
        "samp_etrp_empire",
        "asdasdasda"
    },
    {
        "54.36.184.181",
        "life",
        "platinum1",
        "pV3jJ4vO2p9"
    },
    {
        "54.36.184.181",
        "life",
        "gold1",
        "pV3jJ4vO2p9"
    }
};

stock srv_ChooseSrv() {
	new srv_ip[21 + 1];

	num_srv = srv_Life;
	return 1;
}
