When police officers stopped Devante Bicette in his car in Crawley, they found four wraps of class A drugs in his underwear and £200 cash in his pocket.
A search of the vehicle on Northgate Avenue led to the seizure of cocaine, crack cocaine and heroin with a street value of between £12,500 t0 £18,500.
Police had received information about how the hire car was linked to London drug dealing groups in Sussex, known as County Lines dealers.
Officers asked 25-year-old Bicette to step out of the vehicle, and body-worn footage shows him being evasive as an officer tried to search him.
He then tried to make a dash for it, but was stopped and arrested on suspicion of possessing class A drugs with intent to supply.
At Lewes Crown Court, Bicette, of no fixed address, admitted three counts of possessing class A drugs with intent to supply and obstructing a police officer in the execution of their duty.
He was jailed for a total of three years and was banned from driving for two years and four months.