Set next map in Map rotation?

Posts 1–4 of 4 · Page 1 of 1
Set next map in Map rotation?
How do I set the next map in the Map rotation???

setDvar("map_rotate",1); doesnt work -.-

EDIT:
Forgot to say that i run the mod where i want to use map rotation on my Dedicated Server(AlterIWNet). and in the dedi config file i already set up the map rotation with "map_rotation="maps"".


BMGP
Code from MetPL
Code:
selectrandommap()
{
	wait 2;
	dostepneMapy = "mp_brecourt;mp_rundown;mp_afghan;mp_checkpoint;mp_quarry;mp_highrise;mp_boneyard;mp_derail;mp_rust;mp_favela;mp_estate;mp_terminal;mp_underpass;mp_subbase;mp_invasion;";
	mapa = getDvar("mapname");
	pojedynczaMapa = StrTok( dostepneMapy, ";" ); 
	losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
	while(losowamapa == mapa) {
		losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
	}	
	Map(losowamapa, false);   
}
Quote Originally Posted by mathieutje12 View Post
Code from MetPL
Code:
selectrandommap()
{
	wait 2;
	dostepneMapy = "mp_brecourt;mp_rundown;mp_afghan;mp_checkpoint;mp_quarry;mp_highrise;mp_boneyard;mp_derail;mp_rust;mp_favela;mp_estate;mp_terminal;mp_underpass;mp_subbase;mp_invasion;";
	mapa = getDvar("mapname");
	pojedynczaMapa = StrTok( dostepneMapy, ";" ); 
	losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
	while(losowamapa == mapa) {
		losowamapa = pojedynczaMapa[randomint(pojedynczaMapa.size)];
	}	
	Map(losowamapa, false);   
}
Polish???
Makes no sense.. except mapa
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us