Npc gossip seen only by death players

hello, im trying to make a gossip npc (teleporter) but i need it only for death players, so when u are alive u will not see it, and when u die ur ghost and u can see it just like spirit healer but npcflag 16384 dont do the job, it make my npc same like spirit healer…any help? thxx

dead*

rly, ur here to check did i spell right or i say it good? thx 4 nothin…

solved

in creature_template, npc_flag should be 32768