How to stop money edits in games?

I’m mostly referencing Stalker 2 right now, but in every game I’ve ever used it - no matter if I set the value back to zero, it uses the last saved state when I used it. So if I’ve set it to 50k one time, even if I set it back to zero to disable it, I still get 50k every time I turn on wemod.