Question
#8

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
ikr, I recommend using floatround
indeed actually.. haven't thought of this...

instead of:
Код:
format(string, sizeof(string), "%s's position: %f, %f, %f", name, x, y, z);
add:

Код:
floatround(x, floatround_round);
floatround(y, floatround_round);
floatround(z, floatround_round);
format(string, sizeof(string), "%s's positions: %.0f, %.0f, %.0f", name, x, y, z);
Reply


Messages In This Thread
Question - by Scriptissue - 08.10.2010, 21:18
Re: Question - by Sascha - 08.10.2010, 21:27
Re: Question - by Scriptissue - 09.10.2010, 07:19
Re: Question - by Sascha - 09.10.2010, 07:33
Re: Question - by Rachael - 09.10.2010, 07:57
Re: Question - by Sascha - 09.10.2010, 08:27
Re: Question - by Retardedwolf - 09.10.2010, 08:30
Re: Question - by Sascha - 09.10.2010, 08:34
Re: Question - by Scriptissue - 09.10.2010, 12:05
Re: Question - by Retardedwolf - 09.10.2010, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)