How to call self in a entity all over?

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



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?

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?



[editline]30th August 2015[/editline]

You shouldn’t be calling net.Start outside of a function.