22.02.2010, 13:56
Код:
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); }