error 017: undefined symbol "i"
#1

help
Код:
Millenium.pwn(140) : error 017: undefined symbol "i"
Line 140
pawn Код:
for(new i = 0; i < 4; i++) format(strLoc, sizeof(strLoc), "Loc%d", i), INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
Whole public
pawn Код:
public LoadVehicleData(vehicleID, name[], value[])
{
    new strLoc[8];
   
    INI_Int("model", VehicleInfo[vehicleID][vModel]);
    for(new i = 0; i < 4; i++) format(strLoc, sizeof(strLoc), "Loc%d", i), INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
   
    INI_Int("color1", VehicleInfo[vehicleID][vColor1]);
    INI_Int("color2", VehicleInfo[vehicleID][vColor2]);
    INI_Int("respawn", VehicleInfo[vehicleID][vRespawn]);
    INI_String("owner", VehicleInfo[vehicleID][vOwner], MAX_PLAYER_NAME);
    VehicleInfo[vehicleID][vLocked] = INI_Int("locked") == 1 ? true : false;


    return 1;
}
Reply


Messages In This Thread
error 017: undefined symbol "i" - by Mriss - 29.03.2014, 07:02
Re: error 017: undefined symbol "i" - by nGen.SoNNy - 29.03.2014, 07:12
Re: error 017: undefined symbol "i" - by Mriss - 29.03.2014, 07:18
Re: error 017: undefined symbol "i" - by Mriss - 29.03.2014, 07:31
Re: error 017: undefined symbol "i" - by iThePunisher - 29.03.2014, 07:44
Re: error 017: undefined symbol "i" - by vassilis - 29.03.2014, 07:47
Re: error 017: undefined symbol "i" - by TomatoRage - 29.03.2014, 08:13

Forum Jump:


Users browsing this thread: 1 Guest(s)