08.12.2009, 16:17
hello everybody i want to make a random textdraw but i dindґt know how i can do this
i have made together with a freind this code
but he dint work how it needs
it change one or 2 textdraws but then it stops
can someone help me please
i have made together with a freind this codebut he dint work how it needs
it change one or 2 textdraws but then it stops
can someone help me pleaseCode:
SetTimer("textdraw",10000,1);
Code:
public textdraw(playerid){
new gla=random(6)+1, s[100];
switch(gla) {
case 1: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands1"; }
case 2: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands2"; }
case 3: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands3"; }
case 4: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands4"; }
case 5: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands5"; }
case 6: { s="~r~www.stuntlantis.de~w~ /teleports /jumps /dms /cars /commands6"; }}
TextDrawSetString(www,s);
www = TextDrawCreate(10.000000,436.000000,s);
TextDrawSetShadow(www,0);
TextDrawSetOutline(www,1);
TextDrawBackgroundColor(www,0x000000FF);
TextDrawColor(www,0xFFFFFFFF);
TextDrawFont(www,3);
return 1;
}

