How to set up a gamemode

I managed to set up my listen server (non-dedicated server) but how do i set up a gamemode like darkrp or flood mod. I got flood mode and i loaded up a flood mode map but the gamemode didn’t activate. Is there a way to activate a gamemode like darkrp or flood mode. Thanks

changegamemode “map” “gamemode”