Discord
Steam
/
Garry's Mod
/
Developers
/
Get all NPCs a..
Login/Join
Event Log
Get all NPCs and delete them
2 replies, posted
Search
In This Thread
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.