28.01.2018, 21:57
Did you already debug that code? Set the variable of the player who was invited which is Account[playerid][DuelType] to 0 as well?
I would check if it gets called when a player in a duel dies, for both, killerid and playerid, if not means variables are messed up.
I would check if it gets called when a player in a duel dies, for both, killerid and playerid, if not means variables are messed up.