Warning 213 tag mismatch
#1

Here you can see the error :

PHP код:
C:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1027) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1028) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1029) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1030) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1032) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1033) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1034) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1035) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1036) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1037) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1038) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1039) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1041) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1042) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1043) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1048) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1048) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1049) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1049) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1050) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1050) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1050) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1050) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1050) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1051) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1051) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1051) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1051) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1051) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1056) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1057) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1058) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1059) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1060) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1061) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1062) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1063) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1064) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1065) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1066) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1067) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1068) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1069) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1070) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1071) : warning 213tag mismatch
C
:\Users\Eigenaar\Desktop\Roleplay Base Script\gamemodes\hrp.pwn(1072) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
46 Warnings

Here is the problem


PHP код:
CMD:createhouse(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] <= 4)
     return 
SCM(playeridCOLOR_GREY"You are not authorized to use this command!");
    new 
pricelevelidintworldstring[128], Float:XiFloat:YiFloat:Ziinti;//All the new defines we will need.
    
if(sscanf(params"dddfff"pricelevelintiXiYiZi)) return SendClientMessage(playeridCOLOR_GREY"Syntax: /createhouse [price] [level] [interior] [X] [Y] [Z]");//d stands for integer, f stands for float.
    
if(level || level 10) return SendClientMessage(playeridCOLOR_GREY"Syntax: Type cannot go below 0, or above 10.");//
    
if(price 50000) return SendClientMessage(playeridCOLOR_GREY"Syntax: Price cannot go below $50,000.");// Check if the price is below 1000, if it is it will return a message saying it.
    
for(new 1;sizeof(HouseInfo);h++)//Loops through all the businesses
    
{
        if(
HouseInfo[h][hPrice] == 0)//Checks if the price of a business is 0.
        
{
            
id h;
            break;
//It stops looping if it is.
        
}
    }
    new 
Float:XX,Float:YY,Float:ZZ,Float:AA;//More new defines.
    
GetPlayerPos(playeridXXYYZZ);//Gets your player position, and saves it into floats.
    
GetPlayerFacingAngle(playeridAA);//Gets your facing angle, and saves it into a float.
    
int GetPlayerInterior(playerid);//Gets your interior, and saves it into a integer.
    
world GetPlayerVirtualWorld(playerid);//Gets your Virtual World, and saves it into a integer
    
HouseInfo[id][bInsideInt] = inti// 1027 [COLOR="Black"]<--------------------------------------------------[/COLOR]
    
HouseInfo[id][bExitX] = Xi;
    
HouseInfo[id][bExitY] = Yi;
    
HouseInfo[id][bExitZ] = Zi;
    
HouseInfo[id][bOwned] = 0;
    
HouseInfo[id][bPrice] = price;
    
HouseInfo[id][bType] = level;
    
HouseInfo[id][bEntranceX] = XX;
    
HouseInfo[id][bEntranceY] = YY;
    
HouseInfo[id][bEntranceZ] = ZZ;
    
HouseInfo[id][bEntranceA] = AA;
    
HouseInfo[id][bLocked] = 1;
    
HouseInfo[id][bInt] =int;
    
HouseInfo[id][bWorld] =world;
    
HouseInfo[id][bInsideWorld] =id;
    
format(stringsizeof(string), "None");
    
strmid(BusinessInfo[id][bName], string0strlen(string), 255);
    if(
HouseInfo[id][bOutsideIcon]) DestroyDynamicPickup(HouseInfo[id][bOutsideIcon]);
    if(
HouseInfo[id][bInsideIcon]) DestroyDynamicPickup(HouseInfo[id][bInsideIcon]);
    
HouseInfo[id][bOutsideIcon] = CreateDynamicPickup(12721HouseInfo[id][bEntranceX], HouseInfo[id][bEntranceY], HouseInfo[id][bEntranceZ], HouseInfo[id][bWorld]);//Creates a pickup at your location
    
HouseInfo[id][bInsideIcon] = CreateDynamicPickup(12721HouseInfo[id][bExitX], HouseInfo[id][bExitY], HouseInfo[id][bExitZ], HouseInfo[id][bInsideWorld]);//Creates a pickup at your location
    
new file4[40];
    
format(file4sizeof(file4), HPATHid);
    new 
INI:File INI_Open(file4);
    
INI_SetTag(File,"data");
    
INI_WriteInt(File,"hOwned"BusinessInfo[id][hOwned]);
    
INI_WriteInt(File,"hPrice"BusinessInfo[id][hPrice]);
    
INI_WriteString(File,"hOwner"BusinessInfo[id][hOwner]);
    
INI_WriteInt(File,"hLevel"BusinessInfo[id][hLevel]);
    
INI_WriteInt(File,"hLocked"BusinessInfo[id][hLocked]);
    
INI_WriteFloat(File,"hEntranceX"BusinessInfo[id][hEntranceX]);
    
INI_WriteFloat(File,"hEntranceY"BusinessInfo[id][hEntranceY]);
    
INI_WriteFloat(File,"hEntranceZ"BusinessInfo[id][hEntranceZ]);
    
INI_WriteFloat(File,"hEntranceA"BusinessInfo[id][hEntranceA]);
    
INI_WriteFloat(File,"hExitX"BusinessInfo[id][hExitX]);
    
INI_WriteFloat(File,"hExitY"BusinessInfo[id][hExitY]);
    
INI_WriteFloat(File,"hExitZ"BusinessInfo[id][hExitZ]);
    
INI_WriteFloat(File,"hExitA"BusinessInfo[id][hExitA]);
    
INI_WriteInt(File,"hInt"BusinessInfo[id][hInt]);
    
INI_WriteInt(File,"hWorld"BusinessInfo[id][hWorld]);
    
INI_WriteInt(File,"hInsideInt"BusinessInfo[id][hInsideInt]);
    
INI_WriteInt(File,"hInsideWorld"BusinessInfo[id][hInsideWorld]); [COLOR="Black"]// 1072 <======================[/COLOR]
    
INI_Close(File);
    return 
1;

Reply
#2

Mentioning the lines will help us to find the problems.
Reply
#3

I did already CTRL F 1027
Reply
#4

You mean, CTRL + G for lines, because 1027 is a line, not text. But we need exactly the lines with the warnings. Can you please post atleast the first lines, 1027-1037?
Reply
#5

I meant use CTRL + F in the post I wrote 1027 after line 1027 -,-
Reply
#6

Quote:
Originally Posted by ikbenremco
Посмотреть сообщение
I meant use CTRL + F in the post I wrote 1027 after line 1027 -,-
Oh, now you were clear. I thought you did it on your compiler, lol.

Can you show us your enum?
Reply
#7

This is probably got something to do with your enum data, and not having the float tags.

Example: Your enum probably looks something like this:
pawn Код:
enum HouseData
{
bExitX,
bExitY,
bExitZ,
bEntranceX,
bEntranceY,
bEntranceZ,
bEntranceA
};
Whereas it should look like this:
pawn Код:
enum HouseData
{
Float: bExitX,
Float: bExitY,
Float: bExitZ,
Float: bEntranceX,
Float: bEntranceY,
Float: bEntranceZ,
Float: bEntranceA
};
Reply
#8

PHP код:
enum hInfo//Naming the enum
{
hOwner[24],//This will be where it will store the house owner name, in a 24 bit size array.
hOwned,//To store if the house is owned or not.
hLevel,
hLocked,
hPrice,//How much the house will cost.
Float:XPos,//Float X position of the checkpoint
Float:YPos,//Self explanatory.
Float:ZPos,//Self explanatory.
VirtualWorld,//The checkpoints virtual world.
Float:hEntranceX,
Float:hEntranceY,
Float:hEntranceZ,
Float:hEntranceA,
Float:hExitX,
Float:hExitY,
Float:hExitZ,
Float:hExitA,
hInt,
hWorld,
hInsideInt,
hInsideWorld,
hInsideIcon,
hOutsideIcon
}
new 
HouseInfo[MAX_HOUSES][hInfo];//This is the var where we will read the house info. 
Seems fine?
Reply
#9

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
This is probably got something to do with your enum data, and not having the float tags.
I thought the same, but it has warning in every line and the first line is
pawn Код:
HouseInfo[id][bInsideInt] = inti;
which is integer, not float. But I'll be waiting for the author of the thread to post his enum.
Reply
#10

Can you show us where you define MAX_HOUSES?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)