Calc money with distance
#3

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
Dis is a float...

Do this

pawn Код:
new Dis = floatround(GetDistanceToPoint(playerid, 1461.60083, -1024.28356, 23.828125), floatround_round);
Money = Dis * 100;
Also, floatround makes a float to a integer.
OMG that a fail of me :S

thanks! ill go and check it out now... TY
Reply


Messages In This Thread
Calc money with distance - by me-borno - 19.07.2010, 08:13
Re: Calc money with distance - by [HiC]TheKiller - 19.07.2010, 08:22
Re: Calc money with distance - by me-borno - 19.07.2010, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)