Quote:
Originally Posted by Chompy
Hmm, could you explain? :] I usually don't use player.attr for showing ganises :o
No experience at that area, the ganises with player.attrs :]
|
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?