Start developing your own cheat
To add more features to your cheat download a .NET decompiler (dnSpy, ILSpy, etc). Go to Rust/RustClient_Data/Managed and disassemble Assembly-CSharp.dll, it contains most of the game code.
-
Disassemble Assembly-CSharp.dll
-
Navigate to ConVar namespace
-
Select 'Debugging' class
-
Search for the function 'debugcamera'
-
Copy-paste the code that toggles/creates the debugcamera prefab in a toggle in your code
if (!SingletonComponent<CameraMan>.Instance) { GameManager.client.CreatePrefab("assets/bundled/prefabs/system/debug/debug_camera.prefab"); // Second argument isn't necessary so I removed it (It's already set to true). } else { SingletonComponent<CameraMan>.Instance.enabled = !SingletonComponent<CameraMan>.Instance.enabled; }
Don't forget to include Rust's references, (Assembly-CSharp.dll, everything in Managed folder besides mscorlib and System dlls) or it will error on compiling.