ItsMods

Full Version: Code works, but after a while it doesnt !?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
first the tip code works -> after that it just wont work again.

I fixed it before but then i had to delete a part of code.

  1. now I can't delete anymore
  2. WTF?!?!
  3. I don't want to delete code anymore
  4. Fix this!!! :S

The error:
[Image: 2012031500001.jpg]
[Image: 2012031500002.jpg]
[Image: 2012031500003jli.jpg]

Here you can see that it works:
[Image: 2012031400003.jpg]



Code:
doTips()
{
    level endon("disconnect");
    while(1)
    {
        tipList = [];
        tipList[0] = "^7You need 20 points to go to the ^1Specials Platform^7.";
        tipList[1] = "^7Per kill you get ^11 points^7, Per assists you get ^10.5 point ^7and Per teamkills you get ^1-1 point^7.";
        tipList[2] = "^7On the platform you could also choose some ^1perks^7, with those perks you ^1improve your gameplay^7.";
        tipList[3] = "^7When the ^1selector ^7is popping up, you have to ^1select a place ^7where you want to spawn.";
        tipList[4] = "^7Press ^1[{+activate}]^7 to select your ^1Specials^7.";
        tipList[5] = "^7There is a ^1Special Weapon ^7that shoots ^1Strela Rockets^7.";
        tipList[6] = "^7You get a ^1Special Weapon ^7by using the ^1Random Weapon Box^7.";
        tipList[7] = "^7Report bugs to ^1eliteCVDelite^7.";
        tipList[8] = "^7http://www.youtube.com/^1CVDproductions1337";
        tipList[9] = "^7If you ^1killed someone ^7after dying, you ^1don't get the points^7.";
        tip = tipList[RandomInt(tipList.size)];

        level.Tip = createServerFontString( "objective", 1.2 );
        level.Tip setPoint( "CENTER", "CENTER", 0, 150 );
        level.Tip.sort = 1001;
        level.Tip setText("^1Tip: " + tip);
        
        wait 25;
        level.Tip destroyElem();
        wait 0.5;
    }
}

Is it possible that the .gsc = full?

(its coded in _rank.gsc, yes it's for noobs, but it is just simple Smile )
turn off developer mode
(03-16-2012, 06:27)met94 Wrote: [ -> ]turn off developer mode

No. Turning off developer mode is a quick and dirty way to get rid of your errors.

@op try putting a 'wait .05;' above while(1)
(03-16-2012, 06:27)met94 Wrote: [ -> ]turn off developer mode

never used it, what does it actually do?

(btw is that the thingy that you get ur name under your mod?)
ty @ Pozzuh it worked Smile