warning 113: tag mismatch
#1

PHP код:
new Text3D:HouseELabel[MAX_HOUSES]; 
PHP код:
format(stringsizeof(string), "{00BC00}Exit");
HouseELabel[idx] = Create3DTextLabel(string,-1,Houses[idx][ExitX],Houses[idx][ExitY],Houses[idx][ExitZ],15.0,Houses[idx][ExitWorld],1); 
Error on HouseELabel[idx] line:
PHP код:
warning 113tag mismatch 
Reply
#2

Houses[idx][ExitWorld] is a float or a integer?
Reply
#3

Quote:
Originally Posted by quark
Посмотреть сообщение
PHP код:
new Text3D:HouseELabel[MAX_HOUSES]; 
PHP код:
format(stringsizeof(string), "{00BC00}Exit");
HouseELabel[idx] = Create3DTextLabel(string,-1,Houses[idx][ExitX],Houses[idx][ExitY],Houses[idx][ExitZ],15.0,Houses[idx][ExitWorld],1); 
Error on HouseELabel[idx] line:
PHP код:
warning 113tag mismatch 
May I ask why you are assigning the text label to a variable? I mean, if all you are doing is creating an informative text label, you are already defining an id with "idx." If you don't plan on doing anything specifically with each text label, assigning them a separate variable is unneeded.
Reply
#4

@arakuta It's the virtualworld so i guess it's integer

@Aerotactics Same error without the HouseELabel
Reply
#5

bump
Reply
#6

Do you have in the enum ExitX, ExitY and ExitZ with Float: tag? If not, add it. If you have it already, then like arakuta said: ExitWorld is float when it should be integer.
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Do you have in the enum ExitX, ExitY and ExitZ with Float: tag? If not, add it. If you have it already, then like arakuta said: ExitWorld is float when it should be integer.
Well , it's correct.

PHP код:
    Float:ExitX,
    
Float:ExitY,
    
Float:ExitZ,
    
ExitWorld
Any other chance ?
Reply
#8

Everything seems correct then. The only thing left is "idx" so how did you define that symbol?
Reply
#9

PHP код:
new idx;
while (
idx sizeof(Houses))

but this is working:

PHP код:
format(stringsizeof(string), "{00BC00}This house is for sale!");
HouseLabel[idx] = Create3DTextLabel(string,-1,Houses[idx][EnterX],Houses[idx][EnterY],Houses[idx][EnterZ],15.0Houses[idx][EnterWorld], 1); 
Reply
#10

Quote:
Originally Posted by quark
Посмотреть сообщение
but this is working:

PHP код:
format(stringsizeof(string), "{00BC00}This house is for sale!");
HouseLabel[idx] = Create3DTextLabel(string,-1,Houses[idx][EnterX],Houses[idx][EnterY],Houses[idx][EnterZ],15.0Houses[idx][EnterWorld], 1); 
I said this is working, but the HouseELabel is giving error.

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Okay, I found some parts that I missed. You posted:
pawn Код:
Float:ExitX,
Float:ExitY,
Float:ExitZ,
ExitWorld,
but the indexes of the enum are EnterX, EnterY, EnterZ. Do these have the Float: tag too?
The problem is not the Enter but the Exit. Enter is working fine..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)