Distance travelled
#1

Hi everyone,

I am making a Taxi meter for my RP script, and i have everything, textdraws, and other needed systems, but the last thing i need, is something that counts the distance driven.

Like, the player does /fare, and from then the script starts counting the distance.. i was thinking about a public/stock function maybe?

I already searched on ******, and found the include of strickenkid, only problem is, that the download link is dead..
Other topics didn't really help me with making it.

I hope someone can help me on this one..


Thanks in advance
Reply
#2

The Pythagoras' Theorem will help you.
Reply
#3

how can i use the Pythagoras Theorem with this xD
something like the difference between old coords-new coords or something?
the thing is, i want to count itwhilst driving, so i can't use old coord-new coord for this..

I have a speedometer system.. isn't it possible to get the distance from the speed?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)