question about textdraw
#9

Код:
new tc = 0; // Global Variable
Код:
forward SiteTextdraw();
Код:
SetTimer("SiteTextdraw", 5000, 1);
Код:
public SiteTextdraw()
{
   new string[64];
   switch (tc)
   {
     case 0:
     {
        format(string, sizeof(string), "~g~w~w~ww.AirCombat.tk");
        tc = 1;
     }
     case 1:
     {
        format(string, sizeof(string), "~w~w~g~w~w~w.AirCombat.tk");
        tc = 2;
     }
     case 2:
     {
        format(string, sizeof(string), "~w~ww~g~w~w~.AirCombat.tk");
        tc = 3;
     }
     case 3:
     {
        format(string, sizeof(string), "~w~www.~g~A~w~irCombat.tk");
        tc = 4;
     }
     case 4:
     {
        format(string, sizeof(string), "~w~www.A~g~i~w~rCombat.tk");
        tc = 5;
     }
     case 5:
     {
        format(string, sizeof(string), "~w~www.Ai~g~r~w~Combat.tk");
        tc = 6;
     }
     case 6:
     {
        format(string, sizeof(string), "~w~www.Air~g~C~w~ombat.tk");
        tc = 7;
     }
     case 7:
     {
        format(string, sizeof(string), "~w~www.AirC~g~o~w~mbat.tk");
        tc = 8;
     }
     case 8:
     {
        format(string, sizeof(string), "~w~www.AirCo~g~m~w~bat.tk");
        tc = 9;
     }
     case 9:
     {
        format(string, sizeof(string), "~w~www.AirCom~g~b~w~at.tk");
        tc = 10;
     }
     case 10:
     {
        format(string, sizeof(string), "~w~www.AirComb~g~a~w~t.tk");
        tc = 11;
     }
     case 11:
     {
        format(string, sizeof(string), "~w~www.AirComba~g~t~w~.tk");
        tc = 12;
     }
     case 12:
     {
        format(string, sizeof(string), "~w~www.AirCombat.~g~t~w~k");
        tc = 13;
     }
     case 13:
     {
        format(string, sizeof(string), "~w~www.AirCombat.t~g~k");
        tc = 0;
     }
   }
   TextDrawSetString(textdrawname, string);
}
I haven't tested it, just wrote it in here.
Reply


Messages In This Thread
question about textdraw - by aircombat - 21.02.2010, 17:11
Re: question about textdraw - by aircombat - 22.02.2010, 12:21
Re: question about textdraw - by Virtual1ty - 22.02.2010, 12:23
Re: question about textdraw - by GhoulSlayeR - 22.02.2010, 12:36
Re: question about textdraw - by aircombat - 22.02.2010, 12:53
Re: question about textdraw - by Razvann - 22.02.2010, 13:26
Re: question about textdraw - by GhoulSlayeR - 22.02.2010, 13:36
Re: question about textdraw - by aircombat - 22.02.2010, 13:41
Re: question about textdraw - by GhoulSlayeR - 22.02.2010, 13:56
Re: question about textdraw - by aircombat - 22.02.2010, 14:37

Forum Jump:


Users browsing this thread: 2 Guest(s)