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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch (/showthread.php?tid=141463)



tag mismatch - Mechscape - 13.04.2010

Код:
C:\Users\Martin\Desktop\SAMP\gamemodes\sg.pwn(19108) : warning 213: tag mismatch
C:\Users\Martin\Desktop\SAMP\gamemodes\sg.pwn(19261) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      9676 bytes
Code size:     1621000 bytes
Data size:     10464180 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5601 cells (22404 bytes)
Total requirements:12111240 bytes

2 Warnings.
Код:
PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats] + vehTrunkMats[result];
Код:
PlayerInfo[playerid][pDrugs] = PlayerInfo[playerid][pDrugs] + vehTrunkDrugs[result];



Re: tag mismatch - Jeffry - 13.04.2010

Maybe its a Float.

Check if there are any counted Floats of any of these variables. If yes, add infront of the variable where its defined as "new" just "new Float: ..."