On a flat road with identical tires the object with more mass (and therefore more weight) will be harder to slide. The maximum static friction value is a product of the coefficient of friction and the normal force (weight). The greater the weight (all other things being equal) the greater the maximum static friction. This can easily be proven with a flat board, a fishing scale, and some bricks.
On an inclined plane the weight of the truck and the weight of the car contribute to force along the incline, so it's a different situation. The different weights contribute forces along the inclined plane proportional to their contribution to the normal force.
But that's theory. In reality there are other things happening that would keep the truck sliding when the car did slide. For example, the heavier truck will squish the tires deeper into the surface of the road increasing their effective coefficient of static friction. Surface effects are why dragsters can accelerate at rates well above G.