I have idle NPC’s in which open a derma panel when you press E on them, although it opens for all users? Here’s the code:
function ENT:AcceptInput( name, activator, caller ) if name == "Use" and caller :IsPlayer() then umsg.Start( "scrapshop", ply ) umsg.End() Entity( 1 ):EmitSound( "vo/eli_lab/eli_lookaround.wav" ) end end
I’d like it to only open for the user that originally pressed E.
Any help is appreciated