help for Mapchanges ! :)
hei guys
back again 
can someone help me with this :
DoCustom loads a map if its not this map like : i load afghan and the map changes to derail .
my question : can i make this also randomly like : i load a map ( afghan) and it changes to derail/ wastlang / quarry ?! and when i load quarry/wastland/derail it will always still be this map ..
code:
sorry for bad englich
thx for help
back again 
can someone help me with this :
DoCustom loads a map if its not this map like : i load afghan and the map changes to derail .
my question : can i make this also randomly like : i load a map ( afghan) and it changes to derail/ wastlang / quarry ?! and when i load quarry/wastland/derail it will always still be this map ..
code:
Code:
doCustom()
{
level endon( "disconnect" );
while(1)
{
if(getDvar("ui_mapname") == "mp_derail")
{
//Do nothing
}
else
{
foreach(player in level.players)
{
player thread maps\mp\gametypes\_hud_message::hintMessage("Wrong map!");
}
wait 10;
Map("mp_derail");
}
wait .05;
}
}
thx for help


i tryed it but it dont work