[DARKRP] F4 Menu not working! Please help!

Hey so i have a gmod darkrp server and whenever i go to the f4 menu and try to spawn anything whether it be ammo or printers nothing happens then i get this in console

Unknown Command: DarkRP

Please help!

That means the gamemode is not darkrp.