Spectate Player

Posts 1–3 of 3 · Page 1 of 1
Spectate Player
Is there a way to find the playernumber of the guy you spectate ?
thank you
Since you asked if there is a way, yes, there is one.

But since im god and i know that you will ask for a way anyways, take a look at m_hObserverTarget.

It will return a handle. Use that handle to get the Entity ID.
Quote Originally Posted by WasserEsser View Post
Since you asked if there is a way, yes, there is one.

But since im god and i know that you will ask for a way anyways, take a look at m_hObserverTarget.

It will return a handle. Use that handle to get the Entity ID.
thank you :*
i was getting the spectate player by getting the closest player by distance to me but thats a bit more cpu expensive . @Yemiez you can close .
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us