You can achieve this by 2 ways.
Way 1:
create a timer and check if hp is below 1 and if it does just beep() (note it might beep multiply times, so add some checks).
Way 2:
inject the part where it 'kills' your player add a 'deadVar' as an address (allocate .. registersymbol..), and run a timer and check if deadVar has changed and if it did just beep and reset the deadVar value. _________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum