11.07.2011, 09:38
pawn Код:
new YourInteger = floatround(/*YourFloat*/, floatround_round);
pawn Код:
CMD:float(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new ix = floatround(x, floatround_round);
new string[128];
format(string,128, "%d", ix);
print(string);
return 1;
}