Returning Vehicle ID in an array (with loop) causes 'not continueing'
#8

Man he say the last thing printed out is Debug 3.
So the line under it is the problem.
pawn Код:
VehicleInfo[vehicleid][FileVehicleID] = v;
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(...)) ).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)