Float/Integer problem
#4

If u use floatround u must remove
pawn Код:
Float:
here
pawn Код:
publicEx Float:LabyrintFinishDistance(playerid)
or use that
pawn Код:
return floatsqroot((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)+(z2-z1)*(z2-z1));
but with %.4f
Reply


Messages In This Thread
Float/Integer problem - by Ryso - 15.08.2010, 22:11
Re: Float/Integer problem - by MrDeath537 - 15.08.2010, 22:17
Re: Float/Integer problem - by Ryso - 15.08.2010, 22:40
Re: Float/Integer problem - by Jefff - 15.08.2010, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)