Error your function, even if you register on the "self" for a particular condition "IF" bugs that are prescribed other players, not once!
===========================
Especially for Mitch:
===========================
player[1].name="player make";
player[2].name="player john:;
============================
player[1] setAnim("animation_run"); //give "player make" animation: "animation_run"
Sometimes it's so:
player[1] setAnim("animation_run"); //give "player make" animation: "animation_run" and give player[2] (player john) animation: "animation_run".
Instead, the player player[2] happens and several players who are given animation