Posts: 489
Threads: 73
Joined: Jul 2010
Reputation:
0
undefined symbol "playerspawned"
what should i do?
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
Define playerspawned, as it is undefined according to your error, I assume you have read the Pawn manual before attempting to use the language?
Posts: 967
Threads: 99
Joined: Oct 2010
Reputation:
0
Sometimes I still don't believe people ask questions like this, where the probem is on the error title.
Posts: 489
Threads: 73
Joined: Jul 2010
Reputation:
0
public TDCx()
{
TextDrawHideForAll(infotext);
infotext = TextDrawCreate(7.000000, 322.000000, TDC[random(sizeof(TDC))]);
TextDrawBackgroundColor(infotext, 255);
TextDrawFont(infotext, 3);
TextDrawLetterSize(infotext, 0.500000, 1.000000);
TextDrawColor(infotext, -1);
TextDrawSetOutline(infotext, 0);
TextDrawSetProportional(infotext, 1);
TextDrawSetShadow(infotext, 1);
if(playerspawned == true)
{
TextDrawShowForPlayer(infotext);
}
return 1;
}