• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Random Functions 1.1
#21
(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
[Image: veovuq.png]
  Reply
#22
how it works?
  Reply
#23
(04-20-2013, 10:07)CheGuevara Wrote: how it works?

Its some useful functions ready to use in your mods
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Release] [SOURCE] Random Weapons. [HARD] Tony. 1 2,112 11-08-2013, 11:11
Last Post: Nekochan
  Help source random weapons [HARD] Tony. 4 2,022 11-08-2013, 05:25
Last Post: [HARD] Tony.
  Help choose 2 random players?(1 each team) 26hz 6 2,060 09-12-2013, 17:32
Last Post: Yamato
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 15,798 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  [Release] Matrix Functions Yamato 1 1,179 07-29-2013, 20:14
Last Post: Rendflex
Exclamation [Request] Random Weapon At Spawn Scripts18 3 2,012 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Receiving a random primary & secondary DidUknowiPwn 5 2,009 07-22-2013, 09:47
Last Post: Yamato
  [Release] nCr and Factorial Functions Yamato 2 1,137 06-18-2013, 17:24
Last Post: Nekochan
  What script controls the "random" aspect to care packages? akillj 2 1,356 06-05-2013, 11:24
Last Post: akillj
  Random anims master131 14 5,244 05-24-2013, 09:45
Last Post: [HARD] Tony.

Forum Jump:


Users browsing this thread: 1 Guest(s)