Calculate speed
#7

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
It doesn't matter how often you call it, the values are updated internal

In sa-mp 0.1 we used a timer and calculated the speed like you explained

The main problem isn't the unit or the time it gets measured since the result wouldn't be realistic
Therefor everyone tries to find its own "magic number"

But in the end there is always one vehicle who wont fit, like the bicycle going around 60 km/h
But then why can't one do a vehicleid check? If it is a bike, the speed will show differently? But that might be very unrealistic as the bike would still show maybe 15km/h while a "cleaning-vehicle" (can't remember their name) will go 30km/h while the bike is still going faster.

If so, isn't there a way to just slow down a vehicle? A function or something? I know there is the freeze/unfreeze function for players but is it possible to set a max value on a vehicle id's speed then?
Reply


Messages In This Thread
Calculate speed - by Hansrutger - 26.12.2013, 22:47
Re: Calculate speed - by Pottus - 26.12.2013, 23:36
Re: Calculate speed - by Hansrutger - 26.12.2013, 23:55
AW: Calculate speed - by Nero_3D - 27.12.2013, 02:23
Re: Calculate speed - by Hansrutger - 27.12.2013, 12:49
AW: Calculate speed - by Nero_3D - 27.12.2013, 15:06
Re: AW: Calculate speed - by Hansrutger - 27.12.2013, 15:30
AW: Calculate speed - by Nero_3D - 27.12.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)