Hey, I currently am having trouble trying to get this to work. Here\'s a sample code of what I am trying. A lot has been taken out, but this should still contain the problem. I
You have a typo in your code.
Change
player = new array();
to
player = new Array();