is there an easier way to disable npc's from droping their weapons when they get killed or must i edit the npc addon it self.
?
Can you PLEASE Google or look through the wiki just a little bit before posting ANOTHER thread here?
http://wiki.garrysmod.com/page/GM/OnEntityCreated
Here's an idea, but 4 years ago, someone said "there is no feasible way to do it."
I do know combine have a spawnflag you can give them on spawn. If thats the case give them this code. Otherwise you might have to remove them through onentitycreated
ent:SetKeyValue( "spawnflags", 8192 )
ik how to edit/remove em my self. it's just i was hoping for a simple option in the config/settings that i missed etc to disable weapon drop but.
mate do me a favor ik you're trying to help but please don't ever post on my threads again. that would be the only helpful thing thanks.
I want to help you, but you don't give us anything to help you with. You just ask for an entire solution to a problem you're having.
You must make a legitimate attempt to solve the issue yourself first, including checking the wiki - no spoon-feeding.
I understand, everyone needs to start somewhere, I'm not bashing you for trying to learn how to do stuff, but you just want everything given to you.
Anyway, I did give you help. I gave you a link directly to a hook that you could find useful. Your job is to figure out how to use it.
mate ik how to edit the npc it self. it's just i was hoping for a bloody option that i could have missed/didn't see in darkrpmodification but nope. i still have to edit the npc manually. which ik what to do mate.
But try for trying to help me.
Sorry, you need to Log In to post a reply to this thread.