That isn't how it works. You don't just add a line of code from a hacked client just to find people using it. Anticheats can only monitor the packets you send and receive.The developers will try to recreate the client, to add them to sentinel's list (or something), so that the cheaters can get banned :)
Edit: unless you are talking about a client side anticheat.