[Include] eDistance System
#7

Quote:
Originally Posted by Kar
View Post
In simple terms, I asked why he did not add Feet too, to expand the usage of his include.

UNDERSTAND?
But it is very easy my dear.
Only just add these sets:

pawn Code:
#define    GetFeet(%0)    (E@_R[%0] * 3.280)
Example of use:

pawn Code:
static Str[129];
format(Str, sizeof(Str), "Your vehicle traveled %0.3f feet.", GetFeet(vehicleid));
I believe that to be the value from meters to feet.

Thanks for commenting
Reply


Messages In This Thread
eDistance System - by EditPawn - 02.01.2013, 20:02
Re: eDistance System - by Kar - 03.01.2013, 04:17
Re: eDistance System - by TugaBR - 03.01.2013, 04:31
Re: eDistance System - by Mr.Anonymous - 03.01.2013, 04:35
Re: eDistance System - by EditPawn - 03.01.2013, 20:20
Re: eDistance System - by Kar - 04.01.2013, 02:59
Re: eDistance System - by EditPawn - 04.01.2013, 11:16
Re: eDistance System - by emit - 04.01.2013, 14:43
Re: eDistance System - by AzaMx - 17.08.2014, 10:41
Respuesta: eDistance System - by Swedky - 17.08.2014, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)