Hi again 
in first with what mycode for c# i can use in itsmods ?!
In mw3 when you want to change gametype we have to use map rotation and it also change the map but i want to change gametype with current map so i have this code :
But the gametype also changed with other map in rotation ?!!
so how i can get current map ?!!

in first with what mycode for c# i can use in itsmods ?!
In mw3 when you want to change gametype we have to use map rotation and it also change the map but i want to change gametype with current map so i have this code :
Code:
if (strArray[0].Equals("!dosd"))
{
ServerSay("[AdminPlug] ^7: ^5Gametype Changed To ^1S&D ^5(Search And Destroy)!", true);
dvar = GetDvar("mapname");
Thread.Sleep(500);
ServerCommand("sv_maprotation sd");
ServerCommand("map_rotate");
ServerCommand("map " + dvar);
return false;
}
But the gametype also changed with other map in rotation ?!!
so how i can get current map ?!!