![]() |
kills...
Ok, I want to know if there is a way to detect who killed a player when a player dies.
Say "noob1" kills "noob2", is there a function to see that noob1 killed noob2? I asked a few people about this, and they said it wasnt possible without a custom pk system. But, graal somehow knows when a player kills another player, because player.kills is accurate. So, if graals system knows when you kill someone, is there a way to know through script? Now, I dont really care if I know the account of the person killed, I just need to know if "noob1" killed someone. Any help would be appriciated. |
Check to see who was the last person to attack the victim, I don't know if you can do it without a custom pk system.
|
Quote:
Unless some kind of new built-in flag for the default pk system is introduced that shows the last attacker and/or the last person who killed you, you'll need a custom pk system. |
I remember when I stumbled upon this problem. The built in Graal system, there is no way to detect, but, skyld wrote an awesome Player HP scripts (which can be found in the code gallery) which solved this problem.
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 12:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.