new vehicleid;vehicleid = GetPlayerVehicleID(playerid);If(IsTrailerAttachedToVehicle(vehicleid) && GetVehicleTrailer(vehicleid) == truckt1){ CODE TO DISPLAY CHECKPOINT FOR TRAILER A ATTACHED TO A TRUCK}