13.05.2011, 10:05
I am looking for an effective way to check a players position in a race. Getting the racers position by increasing a variable upon every checkpoint they enter is not quite good enough as if there is more than one player at the same checkpoint they are both positioned as 1st for example.
I need a way of detecting who is closer to the last checkpoint or who has progressed furthest through the race.
I have looked through nearly every race script/tutorial/builder I could find but am still left without a decent answer.
I will be storing the racers position in a textdraw but that isn't the issue, any help is greatly appreciated.
I need a way of detecting who is closer to the last checkpoint or who has progressed furthest through the race.
I have looked through nearly every race script/tutorial/builder I could find but am still left without a decent answer.
I will be storing the racers position in a textdraw but that isn't the issue, any help is greatly appreciated.