my case was dismissed california penal code 1385 dose that mean that they have to pay for the loss of my truck
You would have to give us more information as to why your truck was lost, but the mere dismissal of a criminal charge does not create liability for the arrested law enforcement agency.