Hello, I'm doing an assist system for the ZM mod, the problem occurs when several players get an assist from the same zombie. What happens is that the variable:
PHP Code:
name[victim][attacker] = true
the attacker is replaced by the new attacker, and I can't save multiple variables for both the victim and the attacker to get the correct player id (when the player go dead). I am currently doing a:
PHP Code:
for(new i = 1; i <= 32; i++)
to check how many attackers have gotten an assist when the victim dies. Sometimes it works fine and gives you the name of that player, other times you don't even get assist or you get the name of a different victim (who didn't get assist)