Despawn Zeds when player enters a vehicle

Hello all, i an currently working on an epoch 1062 server, and there is a feature i would like to add (you may not agree with it but hey :p)

I have seen it on a few servers, both epoch and overpoch where if a player has spawned zeds (say at a military camp), if they were to get into any vehicle, their zeds (the ones they spawned) would despawn. Could anyone perhaps link me or help me with a script that could do this please?

PS- I could do a zed killer with a radius of x meters that activates when a player enters a vehicle, but thats not exactly what i want)
Regards,
Goose
 
Top