Resource cheats rely on triggering certain code via player input in a way that is not normally possible. This keeps the simulation in sync because both player's computers will accept the malicious input the same way. The consequence is that resource cheats always leave evidence in the recorded game file. This is how previous (now patched) resource cheats were proven.