• Get the owner of a STOOL for an entity?
    7 replies, posted
I need the owner from a STOOL for an entity. Do I need to use net functions for this?
self:GetOwner()
The spawner I'm using assigns the owner to the entity. But I couldn't use self:GetOwner() in the entity. I'll give this another shot later.
hehehe. Stool. [highlight](User was banned for this post ("help or don't post" - postal))[/highlight]
[QUOTE=Winter;43777336]The spawner I'm using assigns the owner to the entity. But I couldn't use self:GetOwner() in the entity. I'll give this another shot later.[/QUOTE] Show us how you set the owner then.
This is the stool's code. [IMG]http://i.snag.gy/z6HXx.jpg[/IMG] I thought I assigned the owner to the entity, but self:GetOwner() is NULL.
So, is ply nil and you need to fix it, or do you need to access the owner from "inside" of the entity?
I mean't nil not NULL. It's working now, thanks.
Sorry, you need to Log In to post a reply to this thread.