Coded NPC doesn't show up in 'Q' menu ?

Hi, so I have recently made a custom npc what opens a derma when used. In the future this derma will be a health system. It is currently in its early stages and I am trying to test it however for someone reason it wont show up in the Q menu under npcs or entities… I have it in garrysmod\lua\entites\medicnpc then init.lua, cl_init.lua and shared.lua. I have tried 3 times to restart the server however it doesn’t seem to work. If you need the code to suggest a solution just ask :smiley: Thank you for your assistance!
.

Shared.

Try




ENT.Spawnable = true



In shared.lua

I have already got that set to true:

Shared:


ENT.Type = "ai"
ENT.Base = "base_ai"
ENT.PrintName = "Medic NPC"
ENT.Author = "Shadow"
ENT.Purpose = "Heals Player"
ENT.SetAutomaticFrameAdvance = true
ENT.Spawnable = true

cl_init:


net.Receive( "MedNPCMenuOpen" ,function()

	local Background = vgui.Create( "DFrame" )

	Background:SetSize( 500, 500 )

	Background:Center()

	Background:MakePopup()

end)

Init:


function Initialize()

	self:SetModel( "models/Kleiner.mdl" )
	self:SetHullType( HULL_HUMAN )
	self:SetHullSizeNormal()
	self:SetNPCState( NPC_STATE_SCRIPT )
	self:SetSolid( SOLID_BBOX )
	self:CapabilitiesAdd( CAP_ANIMATEDFACE )
	self:SetUseType( SIMPLE_USE )
	self:DropToFloor()

end

util.AddNetworkString( "MedNPCMenuOpen" )

function ENT:AcceptInput( name, activator, caller)

	if name == "Use" and caller:IsPlayer() then

		net.start("MedNPCMenuOpen")
		net.Send(caller)

	end

end

Do I also need ENT.AdminSpawnable = true ? To fix the problem ?

I already gave you the answer. ENT.Spawnable is for entities tab.