• How to call self in a entity all over?
    8 replies, posted
So basicly i have a net message for a entity and I need to call self... now this is in the init.lua file of the entity... So how can i get it so i can call self inside the net.Receive function Thanks!
net.Write/ReadEntity?
If I'm reading right, look into net.WriteEntity(self)
No this will not work... im calling the net.Start on client side (forgot to say that...) I need the inits files self.. is this possible?
The ENT is still avaliable in the init file. Maybe some code would help?
[QUOTE=code_gs;48576798]The ENT is still avaliable in the init file. Maybe some code would help?[/QUOTE] Then how can i call the entity in the cl_init file?
You're talking about the entity's cl_init file or the gamemode's?
Entties...
ENT? [editline]30th August 2015[/editline] You shouldn't be calling net.Start outside of a function.
Sorry, you need to Log In to post a reply to this thread.