SA-MP Forums Archive
tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: tag mismatch (/showthread.php?tid=422105)



tag mismatch - Stanford - 12.03.2013

Код:
C:\Users\TSC\Desktop\#\regular\gamemodes\test.pwn(17225) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Here's the lines: [17225 - 17233]:

Код:
	        if(strcmp(playername,CarInfo[i][vOwner],true)==0)
	        {
	            PlayerInfo[i][pVehicle] = i;
				return i;
	        }
 		}
	}
	return 1;
}
What should I do?


Re: tag mismatch - MP2 - 12.03.2013

The tag of 'CarInfo[i][vOwner]' does not match. It's probably not a string. Check vOwner in your enum structure. It should be followed by an array size like 'vOwner[...],'