For
Either sv_maprotation mp_afghan
For example, or you could use somenthing like this for mods:
Code:
selectrandommap()
{
wait 5;
dostepneMapy = "mp_rundown;mp_afghan;mp_checkpoint;mp_quarry;mp_highrise;mp_boneyard;mp_derail;mp_favela;mp_estate;mp_terminal;mp_underpass;mp_subbase;mp_invasion;mp_nightshift;";
mapa = getDvar("mapname");
pojedynczaMapa = StrTok( dostepneMapy, ";" );
losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
while(losowamapa == mapa) {
losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
}
Map(losowamapa, false);
}
Took it from Jail break out mod, you gotta thread it in _gamelogic.gsc
Ctrl + F and search for level notify( "exitLevel_called" );
and put
under it.