16.04.2010, 09:36
Hi everyone i need help again,
Im stuck on this since 2 weeks and cant go on writting my gamemode until i got that.
I want to create a textdrawList with the nearest 10 Players from a specific player. The first closest should be listed first, the second closest should be listed as second etc... So How can 1. calculate the 10 closest Players and 2. sort the playerids from closest to farthest? How can I make the script to ignore offline Playerids? Pls help me! It would be good if you give me a code example. thank you!
CJ89
Im stuck on this since 2 weeks and cant go on writting my gamemode until i got that.
I want to create a textdrawList with the nearest 10 Players from a specific player. The first closest should be listed first, the second closest should be listed as second etc... So How can 1. calculate the 10 closest Players and 2. sort the playerids from closest to farthest? How can I make the script to ignore offline Playerids? Pls help me! It would be good if you give me a code example. thank you!
CJ89