Awww, Failed ... How can i be so stupid sometimes..
Allright here is new code
PHP Code:
#define max_files 3
// Here is file names...
new const d_files[max_files][] = { "addons/vipmenu.txt", "addons/awp.txt", "addons/andsoon.txt" }
// This is the variable, example system load vipmenu.txt and that map what server have is in the list then d_mapc[0] will be 1
// if in awp.txt have then d_mapc[1] will be 1
new d_mapc[max_files]
public plugin_init()
{
new a, b[32], line[64], e,
get_mapname(b,29)
for(e = 0; e < max_files; e++) {
if(!file_exists(d_files[e])) continue
for(a = 0; a != -1; a++) {
b[31] = read_file( d_files[e], a, line, 63, b[30])
if(!b[31]) break
if( !line[0] || line[0] == ' ' || line[0] == '/' ) continue
if(equal(line,b)) { d_mapc[e] = 1; break }
}}}