The online racing simulator
Drift distance
(4 posts, closed, started )
Drift distance
Hello.

need help with making button who shows distance between cars in twin.
like in lislon servers
im using lapper 6.014
I can't help you with the Lapper specifics, but the general idea is to calculate "sqrt( (Car1.X - Car2.X)^2 + (Car1.Y - Car2.Y)^2 )" - this is the distance between two points in 2D space.
ye i already read that but i dont understand how can i make it work.

its rcm to both players?
See Krayy's reply to a previous post about the same subject .. HERE

Basically, you probably want to use some or all of the following Player Variables;

UNameBehind # UserName of the player behind you in race
GapBehind #Gap between you and player behind in Race
UnameBefore # the username of the player before you in race
GapBefore # gap between you and the player before you in race
This thread is closed

Drift distance
(4 posts, closed, started )
FGED GREDG RDFGDR GSFDG