So I used this https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7853.html but cant figure out where to add a derma menu, or how to spawn the NPC. Is there a video tutorial anywhere I can watch, or atleast can someone comment in depth on what I need to do? Any help will be appreciated, im beyond lost here.
Add the menu anywhere clientside
ents.create for spawning an NPC
http://wiki.garrysmod.com/page/ENTITY/Use - this is called when you press E on an entity, you’ll wanna use the Net Library to open the menu on the activator
Thank you much. Did you by chance make the Nirandra MOTD? I use it on my server(Im also still a bit lost, can I put the ents.create in with the cl_init like the menu, and same for the wiki link you gave me? Sorry im all new to this.)
Hahah, I did indeed
the ents.create creates the entity and must be done on the server, wiki explains and gives an example on how it’s used: http://wiki.garrysmod.com/page/ents/Create
NPCs are just entities, so you could look for already existing code on the workshop or garrysmod.org and read through it