EntityTracking
Global bookkeeper for storing which players are tracking some specific entities.
Entities must be manually registered and unregistered in order to provide tracking information on them. Call register before an entity is spawned, and call unregister
Functions
The entity provided will be tracked by this object, allowing you to access API on this entity. You must manually unregister this entity when it is no longer valid!
Gets the players tracked by an entity with the specified ID.
Gets the players tracked by the specified entity.
The entity with the ID provided will no longer be tracked by this object, cleaning up memory and preventing using the API on this entity. This must be manually run after register.
The entity provided will no longer be tracked by this object, cleaning up memory and preventing using the API on this entity. This must be manually run after register.