undefined symbol "playerspawned"
#1

undefined symbol "playerspawned"

what should i do?
Reply
#2

Define playerspawned, as it is undefined according to your error, I assume you have read the Pawn manual before attempting to use the language?
Reply
#3

Sometimes I still don't believe people ask questions like this, where the probem is on the error title.
Reply
#4

pawn Код:
new playerspawned[MAX_PLAYERS];
Reply
#5

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;
}
Reply
#6

Well it would appear according to your code, that "playerspawned" is a single cell boolean, so you should create it in the global scope.

pawn Код:
new bool:playerspawned;
I'm not sure how else we can help if you're not telling us what you're trying to accomplish.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)