Hello.
GoldSrc (CS) (without AMXX) have own mapcycle system ("mapcycle.txt"), and it works even works AMXX Mapchooser system.
Default Mapchooser system of AMXX works via two plugins:
Code:
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
And we can see this "hack" in "nextmap.sma":
PHP Code:
public changeMap()
{
new string[32]
new Float:chattime = get_cvar_float("mp_chattime")
set_cvar_float("mp_chattime", chattime + 2.0) // make sure mp_chattime is long
new len = getNextMapName(string, 31) + 1
set_task(chattime, "delayedChange", 0, string, len) // change with 1.5 sec. delay
}
For example, I want create my own mapchooser (mapcycle) system.
And I do not want to use this "hack". What are the options?
Can I set default nextmap (
not amx_nextmap, like from "mapcycle.txt") for server via AMXX?