Hello. Please tell me how to make a radar to search for players within a certain radius. Or an approximate idea of how to do this. Search did not help. Programming language - C #
Thanks!
Hello. Please tell me how to make a radar to search for players within a certain radius. Or an approximate idea of how to do this. Search did not help. Programming language - C #
Thanks!
You're not using search properly.
I can't download source from
[C#][Source] Radar and Object Manager Tester / Verifier
Hi avizer,
Welcome to our forums! We're glad to help you out!
Here's some example code
Enjoy!Code:var me = ObjectManager.Me; var nearestPlayer = ObjectManager.Players.OrderBy(player => me.DistanceTo(player)).FirstOrDefault();
If you have any questions please PM me on my other account (http://www.ownedcore.com/forums/members/69674-sku.html)
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku