01.12.2010, 10:20
Hi guys I am getting this error but don't no why
Here's My code and I am getting Error in vAngle file
ERROR is in this line:
Thanks For helping in Advance.
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;
}
pawn Код:
VehicleInfo[i][vAngle] = dini_Float(file,"Angle");