This post has been marked by the post author as the answer.
This should work.
Just change the entity # to the one you want to hide.
If you want to completely remove it, change the Hide to Destroy.
function plrinzone_init(e)
end
function plrinzone_main(e)
if g_Entity[e]['plrinzone']==1 then
Hide(1) -- change the 1 to the entity # of the object you want to hide
PlaySound(e,0)
Destroy(e)
ActivateIfUsed(e)
end
end