jesserocks3357 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

Add Custom Entites from Addons #634

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been trying to add entites but I don't know how gmod exactly loads addons 
into memory. I tried calling "entites/durgz_weed" and even giving the full 
classpath, how should I go about this? I did research the method like any good 
programmer does before using the method. 

Original issue reported on code.google.com by pallytan...@gmail.com on 10 Aug 2011 at 6:57

GoogleCodeExporter commented 9 years ago
EDIT: Okay I figured it out, after being a retard, but I do have one more 
question. How do I make it just like a drug_lab, so it spawns an object, then 
you can spawn packets of weed?

Original comment by pallytan...@gmail.com on 10 Aug 2011 at 7:04

GoogleCodeExporter commented 9 years ago
You need to script that yourself into the entity, usually done in its Use hook.

Original comment by drakehawke@gmail.com on 12 Aug 2011 at 1:12

GoogleCodeExporter commented 9 years ago
yeah you need to script it yourself

Original comment by fpeijnen...@gmail.com on 12 Aug 2011 at 5:42