Team Spartan Cookies & Milk Forums
Entity:owner() clientside - 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: Entity:owner() clientside (/thread-3338.html)



Entity:owner() clientside - The17thDoctor - 23-06-2020

Could be great to get Entity:owner() available on client side aswell, it would just return the server equivalent I guess but would save troubles.


RE: Entity:owner() clientside - frdhog - 23-06-2020

I support this as it would be useful for many things including a clientside emitter radar (my current project)


RE: Entity:owner() clientside - Person8880 - 24-06-2020

Entity owners aren't networked until needed, so this would return nil most of the time. Your best bet is to network the owner from the server yourself when you need it.