How count kilometers?
#1

Hey guys,
how can I make that the Cars count the kilometers?
I wonder in general whether this is possible?
Reply
#2

GTASA units are meters. Just use a timer in which you increase a variable by how many units the vehicle travelled since the last function call.
Reply
#3

I'll that the buyable vehicles save the kilometers. Thats not the problem but you can give me a little push?
Reply
#4

****** has GetPlayerVehicleSpeed function, you should use it and fo easy math for making it to check kilometers and not meters or what ever it does now.
Reply
#5

Quote:
Originally Posted by SureShot
I'll that the buyable vehicles save the kilometers. Thats not the problem but you can give me a little push?
Here, basic exemple: http://pastebin.com/f50b4709b
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)