Team Spartan Cookies & Milk Forums
ents.owner() description misconception ? - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: ents.owner() description misconception ? (/thread-3730.html)



ents.owner() description misconception ? - The17thDoctor - 24-01-2022

Quoting the starfall documentation, ents.owner() returns the owner of the entity running the code.
However if person A creates a starfall processor and person B inputs some code afterwards (merely updating the core, not creating a whole new entity afaik), person B is known as ents.owner().

Perhaps the description should be changed to something like :
"Returns whoever uploaded code into the starfall entity"