i have made together with a freind this code
can someone help me pleaseSetTimer("textdraw",10000,1);
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;
}
www = TextDrawCreate(10.000000,436.000000,s);
TextDrawSetShadow(www,0);
TextDrawSetOutline(www,1);
TextDrawBackgroundColor(www,0x000000FF);
TextDrawColor(www,0xFFFFFFFF);
TextDrawFont(www,3);
C:\Dokumente und Einstellungen\ante\Desktop\ls\S-L_Server\tester\gamemodes\stuntlantis.pwn(391) : error 017: undefined symbol "s" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
www = TextDrawCreate(10.000000,436.000000,"_");
TextDrawShowForPlayer(playerid,Text:www);
|
Originally Posted by Antoni0
sorry for this brake but now i have this problem i habe set the timer on 5 minuten so the textdraw is activate 5 minutes later how can i make that the random textdraw is activate when a player join
i have put Code:
TextDrawShowForPlayer(playerid,Text:www); ![]() |
TextDrawShowForPlayer(playerid,www);