sv_cheats is not implemented on cod games without mod support. Also, the commands like give / god / noclip etc are missing from the engine. On BO3 it works because the game has mod support.
If you want custom game logic, you can write a GSC script and put your code in there, you could achieve the same kinds of stuff with that.