Textdraw Error...
#1

after this thread https://sampforum.blast.hk/showthread.php?tid=408812
i had again error...

now my error is
this:-

pawn Код:
D:\ROCKST~1\GTASAN~1\WINDOW~1\GAMEMO~1\Night.pwn(122) : error 017: undefined symbol "TextDraw0"
D:\ROCKST~1\GTASAN~1\WINDOW~1\GAMEMO~1\Night.pwn(123) : error 017: undefined symbol "TextDraw1"
D:\ROCKST~1\GTASAN~1\WINDOW~1\GAMEMO~1\Night.pwn(124) : error 017: undefined symbol "TextDraw2"
D:\ROCKST~1\GTASAN~1\WINDOW~1\GAMEMO~1\Night.pwn(125) : error 017: undefined symbol "TextDraw3"
D:\ROCKST~1\GTASAN~1\WINDOW~1\GAMEMO~1\Night.pwn(126) : error 017: undefined symbol "TextDraw4"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
these lines are on onplayerconnect:-

pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,TextDraw0);
TextDrawShowForPlayer(playerid,TextDraw1);
TextDrawShowForPlayer(playerid,TextDraw2);
TextDrawShowForPlayer(playerid,TextDraw3);
TextDrawShowForPlayer(playerid,TextDraw4);
return 1;
}
and yes i have
pawn Код:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
on the top
Reply
#2

pawn Код:
// Do you have:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
// Below your includes?
Put this below your includes:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
Reply
#3

pawn Код:
new Text:TextDraw0;
new Text:TextDraw1;
new Text:TextDraw2;
new Text:TextDraw3;
new Text:TextDraw4;
Replace this with the old one, and for the errors, your Things doesn't have The captials in the New TextDraw

As, the defines are Textdraw, and the one is TextDraw, notice the capital D? this will work.
Reply
#4

pawn Код:
new Text:TextDraw0;
new Text:TextDraw1;
new Text:TextDraw2;
new Text:TextDraw3;
new Text:TextDraw4;
you had to write D with big size
Reply
#5

Quote:
Originally Posted by mineralo
Посмотреть сообщение
pawn Код:
new Text:TextDraw0;
new Text:TextDraw1;
new Text:TextDraw2;
new Text:TextDraw3;
new Text:TextDraw4;
you had to write D with big size
I already said that before.
Reply
#6

omg rlly thx gaiz!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)