Xagul
deathzot.net
- Joined
- Jun 30, 2008
- Messages
- 1,295
- Solutions
- 3
- Reaction score
- 1,039
I am currently using
to handle how players die. Basically instead of being killed, logged out, then logging back in and rejoining your party I wanted it to just teleport you to temple and handle the deathloss, frags, ect. This is all working fine however when you die and get teleported to temple it does not clear your deathlist so if you go die to a random monster again the player that originally attacked/killed you gets another frag. I am looking for a way to clear deathlist after teleporting them to temple.
Code:
onPrepareDeath(cid, deathlist)