22.03.2015, 16:38
It should work but due to the crappy sync in SAMP it might give false positives. A better way to do it is to save the time at which the person died and check it each time he dies. If he is dieing too quick like twice in a second then he i hacking. It can be bypassed though if they do it slow. It helps a bit though. But go ahead and try your code and let us know if it worked.