15.04.2012, 15:03
I wrote a small function to calculate the distance between two players. That works fine, it returns what I'd like it to. I'm trying to compare the returned value, with the number 5.
For some reason, this will only work if the arrow is facing right. When the arrow is facing right, the code works from any distance.
- Scott
Код:
if(GetDistanceBetweenPlayers(i, TargetPlayer) > 5.0)
- Scott