05.04.2010, 22:35
It will stop at this line:
because you're trying to get the vehicle model's name from the vehicle id. It should be:
pawn Code:
format(string,sizeof(string),"Vehicle Name:%s VehicleID:%d VehicleHealth:%d",aVehicleNames[vehicleid - 400],vehicleid,vhealth);
pawn Code:
format(string,sizeof(string),"Vehicle Name:%s VehicleID:%d VehicleHealth:%d",aVehicleNames[GetVehicleModel(vehicleid)-400],vehicleid,vhealth);