warning 213: 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: warning 213: tag mismatch (
/showthread.php?tid=277739)
warning 213: tag mismatch -
jaksimaksi - 19.08.2011
pawn Код:
HousesInfo[i][hEntrancex]=dini_Float(housefile,"EnterX"); // warning 213: tag mismatch
HousesInfo[i][hEntrancey] = dini_Float(housefile,"EnterY"); // warning 213: tag mismatch
HousesInfo[i][hEntrancez] = dini_Float(housefile,"EnterZ"); //warning 213: tag mismatch
whats wrong?
Re: warning 213: tag mismatch -
[MWR]Blood - 19.08.2011
Show the HousesInfo enum
Re: warning 213: tag mismatch -
Machida - 19.08.2011
This is probbably not a float : "housefile"
Declare it like Float:housefile
or something like that.
Re: warning 213: tag mismatch -
[HiC]TheKiller - 19.08.2011
Quote:
Originally Posted by Machida
This is probbably not a float : "housefile"
Declare it like Float:housefile
or something like that.
|
Housefile should be a string as it's the file name, not the variable storing the float.
HousesInfo[i][hEntrancex], HousesInfo[i][hEntrancey] and HousesInfo[i][hEntrancez] are not floats. Make sure you put Float:[Variable] for the float variables.
Re: warning 213: tag mismatch -
[MWR]Blood - 19.08.2011
Quote:
Originally Posted by Machida
This is probbably not a float : "housefile"
Declare it like Float:housefile
or something like that.
|
No its not lol, that's a string!
Re: warning 213: tag mismatch -
jaksimaksi - 19.08.2011
Oh.... my enterance variable was not float. Thanks guys