[Tutorial] Getting a player's position in a race (GetPlayerRacePosition)
#6

Yes it will, you need to precalculate the distance between each checkpoint and keep adding it up so for instance you have 10 CP's in a loop each 100 meters apart CP 4 would be a distance of 400 meters from the start. Say the player is going for the fifth CP you would get the distance of the player from the fifth CP + 400 meters to get their position understand ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)