Quote:
Originally Posted by Chandler
Sorry for the long reply. I had to chase six youths who have just thrown a snowball at my house. I did it back to theirs!
HTML Code:
function onActionclientside(curOption, curMessage)
{
if (temp.curOption == "addAttr")
{
this.attrSize.add(temp.curMessage);
this.onTimeout();
}
}
function onTimeout()
{
if (this.doCount > 0)
{
this.doCount -= 0.05;
if (this.doCount <= 0)
{
this.attrSize.delete(0);
this.doCount = 0;
}
setTimer(0.05);
return true;
}
if (this.attrSize.size() > 0)
{
player.attr[3] = "myGani," @ this.attrSize[0];
this.doCount = 5; //Alter this to how long the display lasts
setTimer(0.05);
}
}
Maybe something like this?
|
Hmm, can you explain what it does?
Still not getting the player.attr[] stuff :[
Got any easier examples?