warning 113: tag mismatch -
quark - 24.04.2014
PHP код:
new Text3D:HouseELabel[MAX_HOUSES];
PHP код:
format(string, sizeof(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 113: tag mismatch
Re: warning 113: tag mismatch -
arakuta - 24.04.2014
Houses[idx][ExitWorld] is a float or a integer?
Re: warning 113: tag mismatch -
Aerotactics - 25.04.2014
Quote:
Originally Posted by quark
PHP код:
new Text3D:HouseELabel[MAX_HOUSES];
PHP код:
format(string, sizeof(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 113: tag 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.
Re: warning 113: tag mismatch -
quark - 25.04.2014
@arakuta It's the virtualworld so i guess it's integer
@Aerotactics Same error without the HouseELabel
Re: warning 113: tag mismatch -
quark - 26.04.2014
bump
Re: warning 113: tag mismatch -
Konstantinos - 26.04.2014
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.
Re: warning 113: tag mismatch -
quark - 26.04.2014
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 ?
Re: warning 113: tag mismatch -
Konstantinos - 26.04.2014
Everything seems correct then. The only thing left is "idx" so how did you define that symbol?
Re: warning 113: tag mismatch -
quark - 26.04.2014
PHP код:
new idx;
while (idx < sizeof(Houses))
{
but this is working:
PHP код:
format(string, sizeof(string), "{00BC00}This house is for sale!");
HouseLabel[idx] = Create3DTextLabel(string,-1,Houses[idx][EnterX],Houses[idx][EnterY],Houses[idx][EnterZ],15.0, Houses[idx][EnterWorld], 1);
Re: warning 113: tag mismatch -
quark - 26.04.2014
Quote:
Originally Posted by quark
but this is working:
PHP код:
format(string, sizeof(string), "{00BC00}This house is for sale!");
HouseLabel[idx] = Create3DTextLabel(string,-1,Houses[idx][EnterX],Houses[idx][EnterY],Houses[idx][EnterZ],15.0, Houses[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..