past killometers
#7

have a function like this:
(onplayespawn) save the players pos with getplayerpos,(save them to a variable)
use getplayerdistancetopoint to check how long he have traveled since last point, and att that value to a variable,
and include GetPlayerPos in the function to so you update the pos it will count, then you re do that to kilometers, like we say one IG yard = 1m you just do variable/1000 and you get the kilometers the player have traveled

Hope it helped :S
Reply


Messages In This Thread
past killometers - by Rafa - 16.08.2012, 17:25
Re: past killometers - by RedJohn - 16.08.2012, 18:13
Re: past killometers - by Rafa - 17.08.2012, 00:03
Re: past killometers - by Rafa - 17.08.2012, 00:25
Re: past killometers - by Rafa - 17.08.2012, 01:04
Re: past killometers - by TaLhA XIV - 17.08.2012, 01:46
Re: past killometers - by Ranama - 17.08.2012, 01:54
Re: past killometers - by RedJohn - 17.08.2012, 09:02
Re: past killometers - by Rafa - 17.08.2012, 14:55
Re: past killometers - by Rafa - 17.08.2012, 14:57

Forum Jump:


Users browsing this thread: 1 Guest(s)