Mr Malik also said China had agreed a multi-million dollar loan to Pakistan to help the country set up electronic scanners to check all road traffic entering its main cities to help tackle the security threat .