tag mismatch ???
#1

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.
Reply
#2

Is your vAngle under VehicleInfo a Float: ?
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)