• owning_ent not working if entity was spawned from menu ?
    2 replies, posted
Hi, I'm trying to get the owner of my entity but unfortunatly my print(self:Getowning_ent()) return null entity... I'm spawning it from entities menu... I have a printer with the same method and it does work but i spawned it from a F4 menu. Does it change anything ? shared.lua : function ENT:SetupDataTables() self:NetworkVar("Entity", 0, "owning_ent") end It should work na ? Thanks in advance
You never call MyEntity:Setoowning_ent( OwnerEntityHere ) You may want to do that in ENTITY
But how can i get the owner ? I never called Setowning_ent in my printer and it worked fine. :/
Sorry, you need to Log In to post a reply to this thread.