I currently have the NPC tab disabled in the Q menu on my server, so as an admin i'm attempting to spawn a store NPC through cmd's i get the famous popup, saying Sorry! This NPC can't be spawned. Same goes for all NPC's, so i did some digging and found this hook
hook.Add("PlayerSpawnNPC", name, Disallow_Spawning)
I removed the hook, still nothing. I can't find anything else related to NPC spawning in game mode code anywhere. Any possible solutions?
Do this
hook.Add("PlayerSpawnNPC", "allowAdminsToSpawn", function()
if ply:IsAdmin() return true
end)
Sorry, you need to Log In to post a reply to this thread.