ItsMods

Full Version: Random Functions 1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(01-30-2012, 13:51)zxz0O0 Wrote: [ -> ]
Code:
SayAllandPing(text)
{
    self sayall("text"); //<--- here without quotes
    self pingplayer();
}

FlashingText(xpos,ypos,size,period,text)
{
            flash = self createFontString("default",size);
            flash setPoint("","",xpos,ypos);
            flash setText("text"); //<--- Without quotes
            flash.sort = -10;
            flash.color = (randomFloat(1),randomFloat(1),randomFloat(1));
           t = 0;
            for(;;)
    {
                    if(flash.alpha<.01 )
        {
                                flash.color = (randomFloat(1),randomFloat(1),randomFloat(1));
                    }
                    flash.alpha = (cos(360*t/period)+1)/2;
                    t += 0.05;
                    wait 0.05;
            }
}
Should be text without the quotes

Yes. I thought I had edited them before, Huh
how it works?
(04-20-2013, 10:07)CheGuevara Wrote: [ -> ]how it works?

Its some useful functions ready to use in your mods
Pages: 1 2 3