Really weird problem!
#1

K, my problem is that I get warning although there shouldn'T be warning.

Warning:
Код:
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(12) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(13) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(14) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(15) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(16) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(17) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Dani\Desktop\Ordner\GU\Server\sa-mp\cw\filterscripts\timertest.pwn(18) : warning 213: tag mismatch
Lines:
Код:
TimerCD = TextDrawCreate(548.000000, 24.000000, "~w~00~r~:~w~00");
TextDrawBackgroundColor(TimerCD, 255);
TextDrawFont(TimerCD, 3);
TextDrawLetterSize(TimerCD, 0.559999, 1.800000);
TextDrawColor(TimerCD, -1);
TextDrawSetOutline(TimerCD, 1);
TextDrawSetProportional(TimerCD, 0);
As far as I can see there is no reason for the warnings ;S
Reply
#2

You propably have new TimerCD; at the top instead of new Text:TimerCD;
Reply
#3

no, I have that in top:
Код:
new Text:TimerCD;
Reply
#4

Well, there's something not correct then. I just pasted your textdraw on, my mode and it compiled well.
Reply
#5

Hmmm...



I tested it in my GM and it works perfectly...Are you sure those are the right lines lol?
Reply
#6

Try this
Код:
TimerCD = TextDrawCreate(548.000000, 24.000000, "00:00");
TextDrawBackgroundColor(TimerCD, 255);
TextDrawFont(TimerCD, 3);
TextDrawLetterSize(TimerCD, 0.559999, 1.800000);
TextDrawColor(TimerCD, -1);
TextDrawSetOutline(TimerCD, 1);
TextDrawSetProportional(TimerCD, 0);
Reply
#7

Quote:
Originally Posted by DJDhan
Try this
Код:
TimerCD = TextDrawCreate(548.000000, 24.000000, "00:00");
TextDrawBackgroundColor(TimerCD, 255);
TextDrawFont(TimerCD, 3);
TextDrawLetterSize(TimerCD, 0.559999, 1.800000);
TextDrawColor(TimerCD, -1);
TextDrawSetOutline(TimerCD, 1);
TextDrawSetProportional(TimerCD, 0);
Lol...Learn scripting badass xD

the ~w~ is for white text and ~r~ for red text...jeesh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)