10.11.2010, 17:39
(
Последний раз редактировалось The_Moddler; 10.11.2010 в 17:51.
)
Quote:
Well if I could try to do a suggestion, I'm sure you could find the function to retrieve the KM/h of a vehicle in a decent speed-o-meter FS, so you could try calling that function every ONE second, then divide that by 3.6 (The transfer rate from KM/h to m/s) and add it to a specific floating number. If you need some help with floats, I'd be glad to as they interest me a lot
|
pawn Код:
if(GetVehicleSpeed(vehicleid) > 10)
{
Metros[vehicleid] += floatround(floatdiv(GetVehicleSpeed(vehicleid), 3.6));
}
I don't know if is that what you told me to do, becouse right now I'm going to change 3.6 to something bigger..
Thanks for help mate
EDIT:
Kaaboom! Just got it, now it's accurate
Thanks