rockthevote и список карт

RinD

Участник
Сообщения
60
Реакции
1
Хочу чтобы rockthevote брал список карт с файлка maplist.txt,настраиваю файл maplists.cfg, но всеравно берет список карт с mapcycle.
maplists.cfg

"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}

/* Admin menu, map menu */
"sm_map menu"
{
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
}

/* Admin menu, map voting menu */
"sm_votemap menu"
{
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
}

/* For the "randomcycle" plugin */
"randomcycle"
{
"target" "default"
}

/* For the "mapchooser" plugin */
"mapchooser"
{
"target" "default"
}

/* For the "nominations" plugin */
"nominations"
{
"target" "default"
}
"rockthevote"
{
"file" "maplist.txt"
}
}
 

Серый™

CS:S Server
Сообщения
2,925
Реакции
1,376
Посмотрел в исходнике этого плагине, нет возможности такое сделать что ты хочешь, а в номинатеион есть такое, вот что нашёл может это отвечает за это..
PHP:
public OnConfigsExecuted()
{
	if (ReadMapList(g_MapList,
					g_mapFileSerial,
					"nominations",
					MAPLIST_FLAG_CLEARARRAY|MAPLIST_FLAG_MAPSFOLDER)
		== INVALID_HANDLE)
	{
		if (g_mapFileSerial == -1)
		{
			SetFailState("Unable to create a valid map list.");
		}
	}
}

Вобщем нужно переписывать плагин ртв.
 
Сверху Снизу