Thread: Player Death
View Single Post
  #1  
Old 01-19-2014, 08:19 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default Player Death

Code:
sub EVENT_ZONE
{
	my $GET_HP = $client->GetHP();
	if ($GET_HP < 0)
	{
		quest::we(13, "$name has been killed in $zonesn!");
	}
}
Is there a better way to detect if a player died? Also a way to find out how the player died, who killed the player?
Reply With Quote