Tag problem
#1

Hi.
I am getting this :

Код:
warning 213: tag mismatch
And this is my command :
Код:
if (strcmp(cmdtext, "/drift-on", true)==0)
	{
         TextDrawShowForPlayer(playerid, Textdraw0);
 		DriftTD[playerid] = 1;  // On this line is error
 		SendClientMessage(playerid,COLOR_LIGHTGREEN, "Licznik driftu został wlaczony.");
 		return 1;
	}
Reply
#2

did you define it with
[MAX_PLAYERS]?
Reply
#3

Quote:
Originally Posted by Sascha
did you define it with
[MAX_PLAYERS]?
Do you have a "DriftTD[MAX_PLAYERS]" in your script?
Reply
#4

Quote:
Originally Posted by SAWC™
Do you have a "DriftTD[MAX_PLAYERS]" in your script?
Of course he does, because compiler isn't outputing an error, but warning (tag mismatch).

@XxerykxX: Are you sure that DriftTD array is a normal array, and not a float array or boolean array?
Reply
#5

I have

new TextriftTD[200];

It is a drift counter
Reply
#6

Remove the Text: tag as you're not using this as textdraw or are you?
Reply
#7

I am using it as textdraw beacuse of showing up how many points you will get by drifting...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)