Derma Connected to SNPC

As in the title, i am in need of the lua code to connect a derma panel to a SNPC, so when you approach it in-game, and press e, a derma menu will pop up.

You would user usermessages connected to the use hook, then simply link that usermessage to the dermapanel

I need the same thing, but i’m not quite sure what you mean, Ning.