oddly, it resurfaced me to try to do this same idea when I saw that plugin
https://forums.alliedmods.net/showthread.php?t=315775xd
I will leave you something that I had edited with that plugin, a couple of months ago, for now just add another alternative that would be to match the objects near the tank with the rock of the tank and the other option commented is to match the objects to the same tank. I would like to help you even more but my English stinks and I don't have much to edit and test plugins either :/