24.02.2015, 00:25
This is definitely not something easy to script. I know how I could do something like this though if you'd be willing to have some type of compensation. Otherwise, I suggest using this filterscript and modifying it to your needs.
https://sampforum.blast.hk/showthread.php?tid=325392
https://sampforum.blast.hk/showthread.php?tid=325392