• Get all NPCs and delete them
    2 replies, posted
Hey, I just need a short code that gets all NPCs ( in pairs thingy ) and removes them. That's all :P
[lua]for _, npc in ipairs(ents.FindByClass("npc_*")) do npc:Remove() end[/lua]
Thank you
Sorry, you need to Log In to post a reply to this thread.