09.08.2016, 11:06
That returns the nearest whole number.
EDIT:
It actually just prints the number given in the parameter. Ex: 34.4 prints 34.399999
Код:
public Align(Float:angle) { new Float:a = angle / 45; floatround(a); return a * 45; }
It actually just prints the number given in the parameter. Ex: 34.4 prints 34.399999