SA-MP Forums Archive
tag mismatch ??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch ??? (/showthread.php?tid=195030)



tag mismatch ??? - iRana - 01.12.2010

Hi guys I am getting this error but don't no why

Here's My code and I am getting Error in vAngle file

pawn Код:
stock LoadVehicles()
{
    new file[64];
    for(new i = 0;i < MAX_VEHICLES;i++)
    {
    format(file,sizeof(file),VEH_FILE,i);
    VehicleInfo[i][vModel] = dini_Int(file,"Model");
    VehicleInfo[i][vposX] = dini_Float(file,"PosX");
    VehicleInfo[i][vposY] = dini_Float(file,"PosY");
    VehicleInfo[i][vposZ] = dini_Float(file,"PosZ");
    VehicleInfo[i][vAngle] = dini_Float(file,"Angle");
    VehicleInfo[i][vColor1] = dini_Int(file,"Color1");
    VehicleInfo[i][vColor2] = dini_Int(file,"Color2");
    }
    return 1;
}
ERROR is in this line:
pawn Код:
VehicleInfo[i][vAngle] = dini_Float(file,"Angle");
Thanks For helping in Advance.


Re: tag mismatch ??? - Shadow™ - 01.12.2010

Is your vAngle under VehicleInfo a Float: ?


Re: tag mismatch ??? - iRana - 01.12.2010

Oops Ok I got it.... I forget it to make float...