16.11.2014, 09:22
Find OnPlayerExitVehicle with ctrl+f. In there you should check whether vehicleid is equal with Truck, if it is then use DestroyVehicle. I'll let you try to figure it out yourself.
Tell me if you can't get it working.. shouldn't require much of thinking 
https://sampwiki.blast.hk/wiki/DestroyVehicle


https://sampwiki.blast.hk/wiki/DestroyVehicle