I have a feeling that this search is illegal, please give me feedback on why it is or isnt legal..............So I arrive in the parking lot of a restaurant to meet my friends and get directions to a party, I get out of my car walk over to my friends cars. I then talked with one of my buddies sitting in the bed of a truck, and then lean in the window of my other friends grand prix to get directions. As I'm leaning in the window a cop rolls by. He asks what we were doing and we both told him that we were waiting for some friends of ours, he then gets out searchs us and finds $20 bucks worth of pot on me, as well as $800 in cash. He finds nothing on my friends, no money at all, nor any pot. However, they are charging me with intent to distibute class D. How can that be legal to search me because he saw "the suspect lean into a car and make upper body movements?"