See title. Works great with non-modded class. However the moment a modded class is used there will typically be some sort of error involving a function not found.
Easy way to do it, this wont work until you restart the game
modded class DayZGame { override void OnUpdate(float timeslice) { Print("Hi"); super.OnUpdate(timeslice); } }