Quote:
Originally Posted by joropito
Yes, too complicated to use this function and I can't find a good use of this (why not use EntitiesInPVS instead of this?).
It seems you can call this function once between some forward (maybe UpdateClientData, Think, AddToFullPack).
I'm thinking this based on my tests and what Arkshine said in other post.
If you call this function 1000 times inside a loop, it always returns the same entity.
In fakemeta there's a FM_FindClientInPVS but if you try to forward that call, it's not even called (tried to run, jump, shoot, kill, plant bomb and wait the explosion, drop guns, throw nades, etc).
|
Ok, then at least add a note that says this function has problems.
CheckVisibility and FindEntsInPVS are better to use.
__________________