I'm using the OnEntitySpawned hook, which provides an instance of BaseNetworkable. How do I get from a BaseNetworkable to a BaseEntity, so I can get at the BaseEntity.OwnerID field?
Get OwnerID for an object that just spawned?Solved
Just cast it to a BaseEntity:
E.g.
networkable as BaseEntity;(BaseEntity)networkable Locked automatically