Tag Mismatch
#1

Hey,

Building a new dynamic robbery system in SQLite. I have a few errors with the db_get_field_assoc:
pawn Код:
db_get_field_assoc(Result,"Checkpoint",Field,sizeof(Field));
            RobberyInfo[i][pCheckpoint] = strval(Field);
           
            db_get_field_assoc(Result,"Label",Field,sizeof(Field));
            RobberyInfo[i][pLabel] = strval(Field); // line 90
           
            db_get_field_assoc(Result,"Created",Field,sizeof(Field));
            RobberyInfo[i][pCreated] = !!strval(Field);
           
            db_get_field_assoc(Result,"LocX",Field,sizeof(Field));
            RobberyInfo[i][pLocX] = floatstr(Field);
           
            db_get_field_assoc(Result,"LocY",Field,sizeof(Field));
            RobberyInfo[i][pLocY] = floatstr(Field);
           
            db_get_field_assoc(Result,"LocZ",Field,sizeof(Field));
            RobberyInfo[i][pLocZ] = floatstr(Field);
           
            db_get_field_assoc(Result,"RobberyValue",Field,sizeof(Field));
            RobberyInfo[i][pRobberyValue] = strval(Field);
           
            db_get_field_assoc(Result,"RobberyName",Field,sizeof(Field));
            RobberyInfo[i][pRobberyName] = strval(Field);
           
            db_get_field_assoc(Result,"Size",Field,sizeof(Field));
            RobberyInfo[i][pSize] = floatstr(Field); // 111
           
            db_get_field_assoc(Result,"Interior",Field,sizeof(Field));
            RobberyInfo[i][pInterior] = strval(Field);
[code]
C:\Users\Michael\Desktop\Los Santos Cops And Robbers 0.3c\pawno\include\robberysq.pwn(90) : warning 213: tag mismatch
C:\Users\Michael\Desktop\Los Santos Cops And Robbers 0.3c\pawno\include\robberysq.pwn(111) : warning 213: tag mismatch
C:\Users\Michael\Desktop\Los Santos Cops And Robbers 0.3c\pawno\include\robberysq.pwn(131) : warning 203: symbol is never used: "pRobTimer"
C:\Users\Michael\Desktop\Los Santos Cops And Robbers 0.3c\pawno\include\robberysq.pwn(131) : warning 203: symbol is never used: "pRobbingTicks"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
[/pawn]

Ignore the other 2 warnings.
Reply


Messages In This Thread
Tag Mismatch - by Snowman12 - 11.01.2012, 13:34
Re: Tag Mismatch - by CmZxC - 11.01.2012, 13:37
Re: Tag Mismatch - by Snowman12 - 11.01.2012, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)