I want to set the timelimit to 5 minute whenever in want. is this possible?

I tryed this but doesn't do any change :|
Code:
setDvar("scr_dm_timelimit", 5);
EDIT: I need something that if the time limit is reached it does a map restart.