15.05.2011, 04:21
Man he say the last thing printed out is Debug 3.
So the line under it is the problem.
vehicleid is correct, because it is retrieved in CreateVehicle,
so vehicleid should not be decreased/increased by 1.
Make sure the VehicleInfo array is large enough.
Also try to change the sscanf as a check(i.e. if( !sscanf(...)) ).
So the line under it is the problem.
pawn Код:
VehicleInfo[vehicleid][FileVehicleID] = v;
so vehicleid should not be decreased/increased by 1.
Make sure the VehicleInfo array is large enough.
Also try to change the sscanf as a check(i.e. if( !sscanf(...)) ).