Textdraw=>-need help some error
#1

Код:
C:\Documents and Settings\Elar\My Documents\Server\Server\gamemodes\RPG.pwn(5625) : error 010: invalid function or declaration
C:\Documents and Settings\Elar\My Documents\Server\Server\gamemodes\RPG.pwn(23194) : warning 203: symbol is never used: "Textdraw0"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Post line 5625.
Reply
#3

Код:
line 5625 Textdraw0 = TextDrawCreate(90.000000,433.000000,"ESTONIAN RPG "2009"");
Reply
#4

pawn Код:
Textdraw0 = TextDrawCreate(90.000000,433.000000,"ESTONIAN RPG 2009");
Reply
#5

Same Error

Код:
C:\Documents and Settings\Elar\My Documents\Server\Server\gamemodes\RPG.pwn(5625) : error 010: invalid function or declaration
C:\Documents and Settings\Elar\My Documents\Server\Server\gamemodes\RPG.pwn(23194) : warning 203: symbol is never used: "Textdraw0"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#6

plz help
Reply
#7

//On top of script:
Код:
new Text:Textdraw0;
Код:
//In OnGameModeInit or any other place, we procced to create our textdraw:
Textdraw0 = TextDrawCreate(90.000000,433.000000,"ESTONIAN RPG "2009"");
TextDrawAlignment(Textdraw0,2);
TextDrawBackgroundColor(Textdraw0,0x0000ff33);
TextDrawFont(Textdraw0,2);
TextDrawLetterSize(Textdraw0,0.299999,0.699999);
TextDrawColor(Textdraw0,0x00ffff99);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,4);
If I But That in my gamemode pwn file i get error plz help
Reply
#8

because its on the inside of the first " " use ' ' instead, so:
Код:
TextDrawCreate(90.000000,433.000000,"ESTONIAN RPG '2009'");
and the warning just means you haven't used the td yet.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)