Quote:
Originally Posted by Astram
I removed onCreated nothing different
|
The issue is in the loop, not in
onCreated.
PHP Code:
for (temp.p = 0; temp.p < playerscount; temp.p ++)
{
this.lineup = NULL;
this.lineup.add(players[(@temp.p)].nick);
player.chat = this.lineup;
this.set = "Lineup: "@this.lineup;
}
You're setting
this.lineup to null then adding the player to it. The null assignment should be before the loop.