NPC + Code :D

-snip

In init.lua under ENT:Initialize() first add this.
[lua]
self:SetUseType(SIMPLE_USE)
[/lua]

Then add this function at very bottom of init.lua
[lua]
function ENT:AcceptInput(n,a,c)
if n == “Use” && c:IsPlayer() then
umsg.Start(“npcmen”)
umsg.End()
end
end
[/lua]

Then add this to the bottom of the file you have the HMenu function in.
[lua]
usermessage.Hook(“npcmen”,HMenu)
[/lua]

let me add you whats ur username or steam Name