warning 213: tag mismatch
#1

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?
Reply
#2

Show the HousesInfo enum
Reply
#3

This is probbably not a float : "housefile"

Declare it like Float:housefile
or something like that.
Reply
#4

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.
Reply
#5

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!
Reply
#6

Oh.... my enterance variable was not float. Thanks guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)