How to reset REST on respawn?

Hello im still learning even tho i gained some experience i can’t figure out how to reset resting on respawn… I’m using the resting system that we can rest every 8 hours i found it on the net i forgot where i’m doomed… I’M trying to figure out which variable int to reset or how with the system

Got it guys: SetLocalInt(oDead, “i_TI_LastRest”, 0);