Change Gmod Server Gamemod

I was making a new DarkRP server, hosting it myself and i wanted to know if there was a command in the command line that changed the gamemode, if there is what is it if not, how do you change the gamemode, is there some sort of mystery file hidden some where, i dont know but if someone could help, that’d be great

Yes. Answer is hidden in the search function.