SA-MP Forums Archive
Detect death on disconnect - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Detect death on disconnect (/showthread.php?tid=460764)



Detect death on disconnect - ajwar - 29.08.2013

If player is killed and direct after that disconnects the onplayerdeath callback is not called. How to detect if player is dead withaut the onplayerdeath callback?


Re: Detect death on disconnect - Skribblez - 29.08.2013

What do you mean? You want to know if a player is dead when he or she disconnected from the server?


Re: Detect death on disconnect - Edix - 29.08.2013

EDIT: didnt read the whole post so my post wouldnt help sorry!


Re: Detect death on disconnect - Naruto_Emilio - 29.08.2013

You can use textdraws or formated messages


Re: Detect death on disconnect - Baboon - 29.08.2013

a timer -> Check if health = 0.