How do you make an NPC with a buy menu when you press "e" on them? kinda like underdone or the new AfterMath gamemode?
[highlight](User was banned for this post ("Wrong section" - mahalis))[/highlight]
search
tutorial on gmod wiki
Make a trace, if the trace hits an NPC and the NPC is a shopkeeper then bring up a derma menu.
Maybe this should have gone in questions.
[QUOTE=Wunce;26814019]Make a trace, if the trace hits an NPC and the NPC is a shopkeeper then bring up a derma menu.
Maybe this should have gone in questions.[/QUOTE]
Or you could just make an ent with the model of an NPC, then call the derma on ent:Use()
Sorry, you need to Log In to post a reply to this thread.