View Single Post
  #22  
Old 02-09-2007, 11:38 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Chandler View Post
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?
__________________
Reply With Quote