Code: $gks[1] = new GoalKeeper("Robert Cribb"); $players[1] = new Player("Tom Delonge", "D"); $players[2] = new Player("Super Nova", "D"); $players[3] = new Player("Scott Flack", "LW"); $players[4] = new Player("Daniel Speirs", "C"); $players[5] = new Player("Michael Monkeywrench", "RW"); $gks[3] = new GoalKeeper("Greg Goldberg"); $players[11] = new Player("Dean Portman", "D"); $players[12] = new Player("Fulton Read", "D"); $players[13] = new Player("Lester Averman", "LW"); $players[14] = new Player("Adam Banks", "C"); $players[15] = new Player("Charlie Conway", "RW"); It's on now mother****ers
Oh, and before Bender says it again, yes I know they're Goaltenders, but I'm used to keepers, so in the code they're at least going to be that
Ok, if players in the Ice Pumas team want to do their own stats they can using this template: Code: function SetAttributes($SA, $SP, $P, $V, $H, $C, $POS, $B, $T, $S, $BAL, $A, $ST, $STAM) { $this->ShotAcc = $SA; $this->ShotPow = $SP; $this->Passing = $P; $this->Vision = $V; $this->Handling = $H; $this->Checking = $C; $this->Positioning = $POS; $this->Blocking = $B; $this->Tackling = $T; $this->Speed = $S; $this->Balance = $BAL; $this->Aggression = $A; $this->Strength = $ST; $this->Stamina = $STAM; } so I want your stats as something like (1,3,4,5,6) all 14 stats. That code there shows you what order they should be in (after $this-> is the name of the stat, then what it is in the brakcets (they're all in order anyway). If it's too confusing don't post, I'll just make yours up EDIT: In the interests of making it simpler here is the template: (ShotAcc, ShotPow, Passing, Vision, Handling, Checking, Positional, Blocking, Tackling, Speed, Balance, Aggression, Strength, Stamina) Just change the names to the number 0-10 you want for that attribute.
Just incase anyone wonders, this is only for testing, so you can remake your player when registrations are up as any positions/stats you like then.
I made it easier (ShotAcc, ShotPow, Passing, Vision, Handling, Checking, Positional, Blocking, Tackling, Speed, Balance, Aggression, Strength, Stamina) replace name with a number 0-10