Well.. My map rotation doesnt seem to work and i dont know how to fix it...
heres the code. tell me what i did wrong
mapRotation()
{
self VisionSetNakedForPlayer( getDvar("mapname"), .1 );
self freezeControls(false);
self notify ( "exitMenu" );
self show();
if(getDvar("sv_maprotation") != "")
{
iPrintLn("^3Map Rotation: ^1Off ^5|ZerOs Admin Menu|");
setDvar("sv_maprotation", "");
}
else if(getDvar("sv_maprotation") == "")
{
iPrintLn("^3Map Rotation: ^2On ^5|ZerOs Admin Menu|");
setDvar("sv_maprotation", "mp_afghan mp_boneyard mp_brecourt mp_checkpoint mp_derail mp_estate mp_favela mp_highrise mp_nightshift mp_invasion mp_quarry mp_rundown mp_rust mp_subbase mp_terminal mp_underpass");
}
}
I took it out of Zer0s Kickmenu
I want it to be activated at all times and it doesnt work