I basically cut and pasted from the global lua file, I obviously did it wrong.
I'm still in the clueless stage with scripting , but you have to start somewhere.
this is what I did
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function hideentity_init(e)
end
function hideentity_main(e)
if g_Entity[e]['plrinzone']==1 then
Hide(1) then
stopsound (e,v)
end
end
The 1 is the animated airplane I was using from the Polaris pack I bought from the store.