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.
Originally Posted by WasserEsser
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 .