Well, I can't get this showtext to update to the array I want, the array should include multiple nicknames but it only shows one in the level.
PHP Code:
//#CLIENTSIDE
function onCreated() {
this.set = NULL;
}
function onUpdateText()
{
showtext(1, this.x+0.5, this.y-0.05, "Arabic", "b", this.text);
changeimgzoom(1, 1);
changeimgcolors(1, 1, 1, 1, 1);
drawunderplayer;
}
function onPlayerEnters()
{
onTimeOut();
}
function onTimeOut()
{
if (this.set != NULL)
{
this.text = this.set;
}
else
{
this.text = "Lineup: ";
}
onUpdateText();
setTimer(.5);
}
function onPlayerChats()
{
if (player.guild == "Events Team")
{
if (player.chat == ":lineup")
{
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;
}
}
}
}