Thread Rating:
  • 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
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 4,106 11-08-2013, 11:11
Last Post: Nekochan
  Help source random weapons [HARD] Tony. 4 4,699 11-08-2013, 05:25
Last Post: [HARD] Tony.
  Help choose 2 random players?(1 each team) 26hz 6 4,642 09-12-2013, 17:32
Last Post: Yamato
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,256 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  [Release] Matrix Functions Yamato 1 2,768 07-29-2013, 20:14
Last Post: Rendflex
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,732 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Receiving a random primary & secondary DidUknowiPwn 5 4,394 07-22-2013, 09:47
Last Post: Yamato
  [Release] nCr and Factorial Functions Yamato 2 2,689 06-18-2013, 17:24
Last Post: Nekochan
  What script controls the "random" aspect to care packages? akillj 2 3,262 06-05-2013, 11:24
Last Post: akillj
  Random anims master131 14 10,790 05-24-2013, 09:45
Last Post: [HARD] Tony.

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.