forward myTimer();public myTimer(){ GameModeExit(); return 1;}// under OnGameModeInit-callback:SetTimer("myTimer", _YOUR_END_TIME_IN_MILISECONDS_, false);