I'm running a DarkRP Server and I want to block a bunch of props using a list of models I've already written up with almost 3,000 props.
I know I can could have added them to FPP's black list ingame via the context menu but I'd rather just use my list.
How could I do something like that?
Sandbox and any derived gamemodes, including DarkRP, have hooks for spawned entities. The one I think you're looking for is PlayerSpawnProp.
If you're looking to do this outside of a sandbox gamemode, you're looking at the OnEntityCreated hook, filtering for prop_physics and blocking by model.
Sorry, you need to Log In to post a reply to this thread.