Would it work to just make the shots require inventory (that's an option in the scripting wizard) and remove the inventory when you get to a map where shooting is disabled?
But if not, just as an example, I think you can just put this as the first line of your Sub Player_OnControllerMove:
If Right(ProjectObj.GamePlayer.rMap.Name,1) = "_" Then Exit Sub
That line would ignore all script for pressing buttons if the current map name ends with "_". Then you can rename all the maps where the player should not shoot so that they end with a "_". There are many other tricky ways to make this easy. This is just one. (If you have more maps where the player should not shoot than maps where they should shoot, then you should change the = to <> and put the "_" on the maps where the player can shoot.)