04.02.2012, 01:51
(
Последний раз редактировалось king4you; 04.02.2012 в 13:30.
)
Thats what i write:
and i get those errors:
Someone can help me where i did a mistake please?
pawn Код:
public LoadAVSVehicles()
{
new file[64];
for(new idx = 1; idx < MAX_VEHICLES ; idx++)
{
format(file, sizeof(file),"AVS/Vehicles/v%d.ini", idx);
fopen(file,io_read);
if(dini_Exists(file))
{
format(file, sizeof(file),"AVS/Vehicles/v%d.ini", idx);
VehicleOwner[idx] = dini_Get(file, "Owner");
//new Owner = dini_Get(file, "Owner");
}//
}
fclose(file);
return 1;
}
pawn Код:
C:\gamemodes\larp.pwn(2387) : error 047: array sizes do not match, or destination array is too small
C:\gamemodes\larp.pwn(2391) : error 035: argument type mismatch (argument 1)