Entity works fine except when spawned with spawnmenu
2 replies, posted
Hi folks,
I have an entity that functions perfectly without errors when spawned with the console (ent_create).
However, when I try spawning it within the entities menu, garry's mod just freezes. No error messages, nothing.
I've googled a lot but couldn't find anything, what can be wrong?
- Digaly
You need an ENT:SpawnFunction(client, trace) for your entity.
[QUOTE=Chessnut;38934580]You need an ENT:SpawnFunction(client, trace) for your entity.[/QUOTE]
Oh wow. Thank you! I just wiki'd that and yes, it's now very obvious to me why it wouldn't work.
Lots of thanks :)
Sorry, you need to Log In to post a reply to this thread.